<template>
  <a-modal
    :width="'100%'"
    :style="{ top: 0, paddingBottom: 0 }"
    :bodyStyle="{
      backgroundColor: '#F0F2F5',
      padding: '8px',
      overflow: 'auto'
    }"
    :visible="visible"
    title="设备分组"
    :footer="null"
    @update:visible="updateVisible"
  >
    <div class="ele-body ele-body-card">
      <!-- 顶部卡片 -->
      <a-card
        :bordered="true"
        :body-style="{padding: '10px'}">
        <div class="ele-cell workplace-user-card">
          <div class="ele-cell-content ele-cell">
            <a-progress :width="70" type="circle" :percent="100" :format="() => '牛舍'" />
            <div class="ele-cell-content">
              <h4 class="ele-elip">牧场：{{data.ranchName}}</h4>
              <div class="ele-elip ele-text-secondary">
                牛舍：{{data.oxtallName}}
              </div>
            </div>
          </div>
        </div>
      </a-card>

      <a-card
        :bordered="true"
        :body-style="{padding: '10px'}">
        <a-form
          ref="form"
          :model="paramForm"
          :rules="rules"
          :label-col="{ md: { span: 11 }, sm: { span: 24 } }"
          :wrapper-col="{ md: { span: 13 }, sm: { span: 24 } }"
          @submit="save"
        >
          <a-row :gutter="8">
            <a-col :md="2" :sm="24" :xs="24"></a-col>
            <a-col :md="12" :sm="24" :xs="24">
              <a-form-item label="温度传感器设备选择" name="temperatureRecordId">
                <a-select v-model:value="paramForm.temperatureRecordId">
                  <a-select-option v-for="envRecord in envRecords" :key="envRecord.recordId" :value="envRecord.recordId">
                    {{envRecord.deviceName}}  设备ID：{{ envRecord.recordId }}
                  </a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="10" :sm="24" :xs="24"/>
          </a-row>
          <a-row :gutter="8">
            <a-col :md="2" :sm="24" :xs="24"></a-col>
            <a-col :md="12" :sm="24" :xs="24">
              <a-form-item label="识别容忍度(秒)" name="idendify">
                <a-input-number v-model:value="paramForm.idendify" style="width: 220px;" placeholder="单位s" allow-clear />
              </a-form-item>
            </a-col>
            <a-col :md="10" :sm="24" :xs="24"/>
          </a-row>
          <a-alert message="喷淋数据单位秒，范围从0到32767" type="warning" />
          <a-divider orientation="left"><a-tooltip color='orange' title='范围从0到32767'>ABCDEF6组喷淋模式设置</a-tooltip></a-divider>
          <a-row :gutter="8">
            <a-col :md="4" :sm="24" :xs="24">
              <a-form-item label="喷淋数据A" />
              <a-form-item label="喷淋数据B" />
              <a-form-item label="喷淋数据C" />
              <a-form-item label="喷淋数据D" />
              <a-form-item label="喷淋数据E" />
              <a-form-item label="喷淋数据F" />
            </a-col>
            <a-col :md="10" :sm="24" :xs="24">
              <a-form-item label="动作时长(秒):" name="A_ACTION">
                <a-input v-model:value="paramForm.sprayModelData.A_ACTION" placeholder="单位s" allow-clear />
              </a-form-item>
              <a-form-item label="动作时长(秒):" name="B_ACTION">
                <a-input v-model:value="paramForm.sprayModelData.B_ACTION" placeholder="单位s" allow-clear />
              </a-form-item>
              <a-form-item label="动作时长(秒):" name="C_ACTION">
                <a-input v-model:value="paramForm.sprayModelData.C_ACTION" placeholder="单位s" allow-clear />
              </a-form-item>
              <a-form-item label="动作时长(秒):" name="D_ACTION">
                <a-input v-model:value="paramForm.sprayModelData.D_ACTION" placeholder="单位s" allow-clear />
              </a-form-item>
              <a-form-item label="动作时长(秒):" name="E_ACTION">
                <a-input v-model:value="paramForm.sprayModelData.E_ACTION" placeholder="单位s" allow-clear />
              </a-form-item>
              <a-form-item label="动作时长(秒):" name="F_ACTION">
                <a-input v-model:value="paramForm.sprayModelData.F_ACTION" placeholder="单位s" allow-clear />
              </a-form-item>
            </a-col>

            <a-col :md="10" :sm="24" :xs="24">
              <a-form-item label="停止时长(秒):" name="A_STOP">
                <a-input v-model:value="paramForm.sprayModelData.A_STOP" placeholder="单位s" allow-clear />
              </a-form-item>
              <a-form-item label="停止时长(秒):" name="B_STOP">
                <a-input v-model:value="paramForm.sprayModelData.B_STOP" placeholder="单位s" allow-clear />
              </a-form-item>
              <a-form-item label="停止时长(秒):" name="C_STOP">
                <a-input v-model:value="paramForm.sprayModelData.C_STOP" placeholder="单位s" allow-clear />
              </a-form-item>
              <a-form-item label="停止时长(秒):" name="D_STOP">
                <a-input v-model:value="paramForm.sprayModelData.D_STOP" placeholder="单位s" allow-clear />
              </a-form-item>
              <a-form-item label="停止时长(秒):" name="E_STOP">
                <a-input v-model:value="paramForm.sprayModelData.E_STOP" placeholder="单位s" allow-clear />
              </a-form-item>
              <a-form-item label="停止时长(秒):" name="F_STOP">
                <a-input v-model:value="paramForm.sprayModelData.F_STOP" placeholder="单位s" allow-clear />
              </a-form-item>
            </a-col>
          </a-row>

          <!---------------- 时间设置----------->
          <a-alert message="喷淋时间可设置范围是00:00-24:00,区域是必须选择的，开始时间必须小于结束时间。喷淋方式可以选择是否忽略算法，忽略的话，就是不管有没有牛都会喷水，不忽略的情况下，只有识别到牛来了才会喷水。" type="warning" />
          <a-alert message="喷淋数据：无效 说明该时间段或者该温度区间内是无效数据，不会纳入调度计算。" type="warning" />
          <a-alert message="喷淋数据：不喷水 说明该时间段或者该温度区间内是有效数据，会纳入调度计算，但是会告诉相机不能喷淋" type="warning" />
          <a-alert message="经典喷淋(无时间切片)，AI算法模式，不切分时间段，在选择的时间段内按算法喷淋" type="warning" />
          <a-divider orientation="left"><a-tooltip color='orange' title='假设要设置全天时间里面，5s喷一次的固定喷淋时序。可以值设置时间段一开始结束时间是全天，其他不设置，然后配合运行时长和停止时长模式'>喷淋时间设置</a-tooltip></a-divider>
          <a-divider orientation="left" orientation-margin="0px">时间段一</a-divider>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="时间段一开始时间:" name="TIME1_START">
                <a-time-picker v-model:value="paramForm.TIME1_START" format="HH:mm" @change="selectTime1Start"  allow-clear  />
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="结束时间(截止24:00):" name="TIME1_STOP">
                <time24-select :value="paramForm.TIME1_OVER" @modify="selectTime1Over" />
              </a-form-item>
            </a-col>
            <a-col :md="4" :sm="24" :xs="24">
              <a-form-item label="喷淋数据:" name="TIME1_VALID">
                <a-select v-model:value="timeConfForm.TIME1_VALID">
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">喷淋数据A</a-select-option>
                  <a-select-option :value="2">喷淋数据B</a-select-option>
                  <a-select-option :value="3">喷淋数据C</a-select-option>
                  <a-select-option :value="4">喷淋数据D</a-select-option>
                  <a-select-option :value="5">喷淋数据E</a-select-option>
                  <a-select-option :value="6">喷淋数据F</a-select-option>
                  <a-select-option :value="7">温控模式</a-select-option>
                  <a-select-option :value="8">不喷水</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col class='regionclass' :md="7" :sm="24" :xs="24" >
              <a-form-item label="分区:" name="TIME1_REGION">
                <a-select v-model:value="paramForm.TIME1_REGION_ARR" mode="multiple" @change="time1RegionChange">
                  <a-select-option v-for="group in groups" :key="group.groupId" :value="group.groupId">
                    {{ group.groupName }}分区
                  </a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
          </a-row>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="区域喷淋方式:" name="TIME1_MODE">
                <a-select v-model:value="timeConfForm.TIME1_MODE" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">各区域同时喷同时关</a-select-option>
                  <a-select-option :value="2">各区域轮流喷淋</a-select-option>
                  <a-select-option :value="3">经典喷淋(无时间切片)</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="忽略算法:" name="TIME1_ALG">
                <a-select v-model:value="timeConfForm.TIME1_ALG" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">是</a-select-option>
                  <a-select-option :value="2">否</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="12" :sm="24" :xs="24">
            </a-col>
          </a-row>

          <a-divider orientation="left" orientation-margin="0px">时间段二</a-divider>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="时间段二开始时间:" name="TIME2_START">
                <a-time-picker v-model:value="paramForm.TIME2_START" format="HH:mm" @change="selectTime2Start" allow-clear />
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="结束时间(截止24:00):" name="TIME2_STOP">
                <time24-select :value="paramForm.TIME2_OVER" @modify="selectTime2Over" />
              </a-form-item>
            </a-col>
            <a-col :md="4" :sm="24" :xs="24">
              <a-form-item label="喷淋数据:" name="TIME2_VALID">
                <a-select v-model:value="timeConfForm.TIME2_VALID">
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">喷淋数据A</a-select-option>
                  <a-select-option :value="2">喷淋数据B</a-select-option>
                  <a-select-option :value="3">喷淋数据C</a-select-option>
                  <a-select-option :value="4">喷淋数据D</a-select-option>
                  <a-select-option :value="5">喷淋数据E</a-select-option>
                  <a-select-option :value="6">喷淋数据F</a-select-option>
                  <a-select-option :value="7">温控模式</a-select-option>
                  <a-select-option :value="8">不喷水</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col class='regionclass' :md="7" :sm="24" :xs="24" >
              <a-form-item label="区域:" name="TIME2_REGION">
                <a-select v-model:value="paramForm.TIME2_REGION_ARR" mode="multiple" @change="time2RegionChange">
                  <a-select-option v-for="group in groups" :key="group.groupId" :value="group.groupId">
                    {{ group.groupName }}分区
                  </a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
          </a-row>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="区域喷淋方式:" name="TIME2_MODE">
                <a-select v-model:value="timeConfForm.TIME2_MODE" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">各区域同时喷同时关</a-select-option>
                  <a-select-option :value="2">各区域轮流喷淋</a-select-option>
                  <a-select-option :value="3">经典喷淋(无时间切片)</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="忽略算法:" name="TIME2_ALG">
                <a-select v-model:value="timeConfForm.TIME2_ALG" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">是</a-select-option>
                  <a-select-option :value="2">否</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="12" :sm="24" :xs="24">
            </a-col>
          </a-row>

          <a-divider orientation="left" orientation-margin="0px">时间段三</a-divider>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="时间段三开始时间:" name="TIME3_START">
                <a-time-picker v-model:value="paramForm.TIME3_START" format="HH:mm" @change="selectTime3Start" allow-clear />
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="结束时间(截止24:00):" name="TIME3_STOP">
                <time24-select :value="paramForm.TIME3_OVER" @modify="selectTime3Over" />
              </a-form-item>
            </a-col>
            <a-col :md="4" :sm="24" :xs="24">
              <a-form-item label="喷淋数据:" name="TIME3_VALID">
                <a-select v-model:value="timeConfForm.TIME3_VALID">
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">喷淋数据A</a-select-option>
                  <a-select-option :value="2">喷淋数据B</a-select-option>
                  <a-select-option :value="3">喷淋数据C</a-select-option>
                  <a-select-option :value="4">喷淋数据D</a-select-option>
                  <a-select-option :value="5">喷淋数据E</a-select-option>
                  <a-select-option :value="6">喷淋数据F</a-select-option>
                  <a-select-option :value="7">温控模式</a-select-option>
                  <a-select-option :value="8">不喷水</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col class='regionclass' :md="7" :sm="24" :xs="24" >
              <a-form-item label="区域:" name="TIME3_REGION">
                <a-select v-model:value="paramForm.TIME3_REGION_ARR" mode="multiple" @change="time3RegionChange">
                  <a-select-option v-for="group in groups" :key="group.groupId" :value="group.groupId">
                    {{ group.groupName }}分区
                  </a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
          </a-row>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="区域喷淋方式:" name="TIME3_MODE">
                <a-select v-model:value="timeConfForm.TIME3_MODE" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">各区域同时喷同时关</a-select-option>
                  <a-select-option :value="2">各区域轮流喷淋</a-select-option>
                  <a-select-option :value="3">经典喷淋(无时间切片)</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="忽略算法:" name="TIME3_ALG">
                <a-select v-model:value="timeConfForm.TIME3_ALG" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">是</a-select-option>
                  <a-select-option :value="2">否</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="12" :sm="24" :xs="24">
            </a-col>
          </a-row>

          <a-divider orientation="left" orientation-margin="0px">时间段四</a-divider>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="时间段四开始时间:" name="TIME4_START">
                <a-time-picker v-model:value="paramForm.TIME4_START" format="HH:mm" @change="selectTime4Start" allow-clear />
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="结束时间(截止24:00):" name="TIME4_STOP">
                <time24-select :value="paramForm.TIME4_OVER" @modify="selectTime4Over" />
              </a-form-item>
            </a-col>
            <a-col :md="4" :sm="24" :xs="24">
              <a-form-item label="喷淋数据:" name="TIME4_VALID">
                <a-select v-model:value="timeConfForm.TIME4_VALID">
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">喷淋数据A</a-select-option>
                  <a-select-option :value="2">喷淋数据B</a-select-option>
                  <a-select-option :value="3">喷淋数据C</a-select-option>
                  <a-select-option :value="4">喷淋数据D</a-select-option>
                  <a-select-option :value="5">喷淋数据E</a-select-option>
                  <a-select-option :value="6">喷淋数据F</a-select-option>
                  <a-select-option :value="7">温控模式</a-select-option>
                  <a-select-option :value="8">不喷水</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col class='regionclass' :md="7" :sm="24" :xs="24" >
              <a-form-item label="区域:" name="TIME4_REGION">
                <a-select v-model:value="paramForm.TIME4_REGION_ARR" mode="multiple" @change="time4RegionChange">
                  <a-select-option v-for="group in groups" :key="group.groupId" :value="group.groupId">
                    {{ group.groupName }}分区
                  </a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
          </a-row>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="区域喷淋方式:" name="TIME4_MODE">
                <a-select v-model:value="timeConfForm.TIME4_MODE" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">各区域同时喷同时关</a-select-option>
                  <a-select-option :value="2">各区域轮流喷淋</a-select-option>
                  <a-select-option :value="3">经典喷淋(无时间切片)</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="忽略算法:" name="TIME4_ALG">
                <a-select v-model:value="timeConfForm.TIME4_ALG" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">是</a-select-option>
                  <a-select-option :value="2">否</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="12" :sm="24" :xs="24">
            </a-col>
          </a-row>
          <a-divider orientation="left" orientation-margin="0px">时间段五</a-divider>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="时间段五开始时间:" name="TIME5_START">
                <a-time-picker v-model:value="paramForm.TIME5_START" format="HH:mm" @change="selectTime5Start" allow-clear />
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="结束时间(截止24:00):" name="TIME5_STOP">
                <time24-select :value="paramForm.TIME5_OVER" @modify="selectTime5Over" />
              </a-form-item>
            </a-col>
            <a-col :md="4" :sm="24" :xs="24">
              <a-form-item label="喷淋数据:" name="TIME5_VALID">
                <a-select v-model:value="timeConfForm.TIME5_VALID">
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">喷淋数据A</a-select-option>
                  <a-select-option :value="2">喷淋数据B</a-select-option>
                  <a-select-option :value="3">喷淋数据C</a-select-option>
                  <a-select-option :value="4">喷淋数据D</a-select-option>
                  <a-select-option :value="5">喷淋数据E</a-select-option>
                  <a-select-option :value="6">喷淋数据F</a-select-option>
                  <a-select-option :value="7">温控模式</a-select-option>
                  <a-select-option :value="8">不喷水</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col class='regionclass' :md="7" :sm="24" :xs="24" >
              <a-form-item label="区域:" name="TIME5_REGION">
                <a-select v-model:value="paramForm.TIME5_REGION_ARR" mode="multiple" @change="time5RegionChange">
                  <a-select-option v-for="group in groups" :key="group.groupId" :value="group.groupId">
                    {{ group.groupName }}分区
                  </a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
          </a-row>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="区域喷淋方式:" name="TIME5_MODE">
                <a-select v-model:value="timeConfForm.TIME5_MODE" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">各区域同时喷同时关</a-select-option>
                  <a-select-option :value="2">各区域轮流喷淋</a-select-option>
                  <a-select-option :value="3">经典喷淋(无时间切片)</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="忽略算法:" name="TIME5_ALG">
                <a-select v-model:value="timeConfForm.TIME5_ALG" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">是</a-select-option>
                  <a-select-option :value="2">否</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="12" :sm="24" :xs="24">
            </a-col>
          </a-row>

          <a-divider orientation="left" orientation-margin="0px">时间段六</a-divider>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="时间段六开始时间:" name="TIME6_START">
                <a-time-picker v-model:value="paramForm.TIME6_START" format="HH:mm" @change="selectTime6Start" allow-clear />
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="结束时间(截止24:00):" name="TIME6_STOP">
                <time24-select :value="paramForm.TIME6_OVER" @modify="selectTime6Over" />
              </a-form-item>
            </a-col>
            <a-col :md="4" :sm="24" :xs="24">
              <a-form-item label="喷淋数据:" name="TIME6_VALID">
                <a-select v-model:value="timeConfForm.TIME6_VALID">
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">喷淋数据A</a-select-option>
                  <a-select-option :value="2">喷淋数据B</a-select-option>
                  <a-select-option :value="3">喷淋数据C</a-select-option>
                  <a-select-option :value="4">喷淋数据D</a-select-option>
                  <a-select-option :value="5">喷淋数据E</a-select-option>
                  <a-select-option :value="6">喷淋数据F</a-select-option>
                  <a-select-option :value="7">温控模式</a-select-option>
                  <a-select-option :value="8">不喷水</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col class='regionclass' :md="7" :sm="24" :xs="24" >
              <a-form-item label="区域:" name="TIME6_REGION">
                <a-select v-model:value="paramForm.TIME6_REGION_ARR" mode="multiple" @change="time6RegionChange">
                  <a-select-option v-for="group in groups" :key="group.groupId" :value="group.groupId">
                    {{ group.groupName }}分区
                  </a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
          </a-row>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="区域喷淋方式:" name="TIME6_MODE">
                <a-select v-model:value="timeConfForm.TIME6_MODE" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">各区域同时喷同时关</a-select-option>
                  <a-select-option :value="2">各区域轮流喷淋</a-select-option>
                  <a-select-option :value="3">经典喷淋(无时间切片)</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="忽略算法:" name="TIME6_ALG">
                <a-select v-model:value="timeConfForm.TIME6_ALG" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">是</a-select-option>
                  <a-select-option :value="2">否</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="12" :sm="24" :xs="24">
            </a-col>
          </a-row>

          <a-divider orientation="left" orientation-margin="0px">时间段七</a-divider>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="时间段七开始时间:" name="TIME7_START">
                <a-time-picker v-model:value="paramForm.TIME7_START" format="HH:mm" @change="selectTime7Start" allow-clear />
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="结束时间(截止24:00):" name="TIME7_STOP">
                <time24-select :value="paramForm.TIME7_OVER" @modify="selectTime7Over" />
              </a-form-item>
            </a-col>
            <a-col :md="4" :sm="24" :xs="24">
              <a-form-item label="喷淋数据:" name="TIME7_VALID">
                <a-select v-model:value="timeConfForm.TIME7_VALID">
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">喷淋数据A</a-select-option>
                  <a-select-option :value="2">喷淋数据B</a-select-option>
                  <a-select-option :value="3">喷淋数据C</a-select-option>
                  <a-select-option :value="4">喷淋数据D</a-select-option>
                  <a-select-option :value="5">喷淋数据E</a-select-option>
                  <a-select-option :value="6">喷淋数据F</a-select-option>
                  <a-select-option :value="7">温控模式</a-select-option>
                  <a-select-option :value="8">不喷水</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col class='regionclass' :md="7" :sm="24" :xs="24" >
              <a-form-item label="区域:" name="TIME7_REGION">
                <a-select v-model:value="paramForm.TIME7_REGION_ARR" mode="multiple" @change="time7RegionChange">
                  <a-select-option v-for="group in groups" :key="group.groupId" :value="group.groupId">
                    {{ group.groupName }}分区
                  </a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
          </a-row>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="区域喷淋方式:" name="TIME7_MODE">
                <a-select v-model:value="timeConfForm.TIME7_MODE" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">各区域同时喷同时关</a-select-option>
                  <a-select-option :value="2">各区域轮流喷淋</a-select-option>
                  <a-select-option :value="3">经典喷淋(无时间切片)</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="忽略算法:" name="TIME7_ALG">
                <a-select v-model:value="timeConfForm.TIME7_ALG" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">是</a-select-option>
                  <a-select-option :value="2">否</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="12" :sm="24" :xs="24">
            </a-col>
          </a-row>

          <a-divider orientation="left" orientation-margin="0px">时间段八</a-divider>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="时间段八开始时间:" name="TIME8_START">
                <a-time-picker v-model:value="paramForm.TIME8_START" format="HH:mm" @change="selectTime8Start" allow-clear />
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="结束时间(截止24:00):" name="TIME8_STOP">
                <time24-select :value="paramForm.TIME8_OVER" @modify="selectTime8Over" />
              </a-form-item>
            </a-col>
            <a-col :md="4" :sm="24" :xs="24">
              <a-form-item label="喷淋数据:" name="TIME8_VALID">
                <a-select v-model:value="timeConfForm.TIME8_VALID">
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">喷淋数据A</a-select-option>
                  <a-select-option :value="2">喷淋数据B</a-select-option>
                  <a-select-option :value="3">喷淋数据C</a-select-option>
                  <a-select-option :value="4">喷淋数据D</a-select-option>
                  <a-select-option :value="5">喷淋数据E</a-select-option>
                  <a-select-option :value="6">喷淋数据F</a-select-option>
                  <a-select-option :value="7">温控模式</a-select-option>
                  <a-select-option :value="8">不喷水</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col class='regionclass' :md="7" :sm="24" :xs="24" >
              <a-form-item label="区域:" name="TIME8_REGION">
                <a-select v-model:value="paramForm.TIME8_REGION_ARR" mode="multiple" @change="time8RegionChange">
                  <a-select-option v-for="group in groups" :key="group.groupId" :value="group.groupId">
                    {{ group.groupName }}分区
                  </a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
          </a-row>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="区域喷淋方式:" name="TIME8_MODE">
                <a-select v-model:value="timeConfForm.TIME8_MODE" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">各区域同时喷同时关</a-select-option>
                  <a-select-option :value="2">各区域轮流喷淋</a-select-option>
                  <a-select-option :value="3">经典喷淋(无时间切片)</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="忽略算法:" name="TIME8_ALG">
                <a-select v-model:value="timeConfForm.TIME8_ALG" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">是</a-select-option>
                  <a-select-option :value="2">否</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="12" :sm="24" :xs="24">
            </a-col>
          </a-row>

          <a-divider orientation="left" orientation-margin="0px">时间段九</a-divider>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="时间段九开始时间:" name="TIME9_START">
                <a-time-picker v-model:value="paramForm.TIME9_START" format="HH:mm" @change="selectTime9Start" allow-clear />
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="结束时间(截止24:00):" name="TIME9_STOP">
                <time24-select :value="paramForm.TIME9_OVER" @modify="selectTime9Over" />
              </a-form-item>
            </a-col>
            <a-col :md="4" :sm="24" :xs="24">
              <a-form-item label="喷淋数据:" name="TIME9_VALID">
                <a-select v-model:value="timeConfForm.TIME9_VALID">
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">喷淋数据A</a-select-option>
                  <a-select-option :value="2">喷淋数据B</a-select-option>
                  <a-select-option :value="3">喷淋数据C</a-select-option>
                  <a-select-option :value="4">喷淋数据D</a-select-option>
                  <a-select-option :value="5">喷淋数据E</a-select-option>
                  <a-select-option :value="6">喷淋数据F</a-select-option>
                  <a-select-option :value="7">温控模式</a-select-option>
                  <a-select-option :value="8">不喷水</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col class='regionclass' :md="7" :sm="24" :xs="24" >
              <a-form-item label="区域:" name="TIME9_REGION">
                <a-select v-model:value="paramForm.TIME9_REGION_ARR" mode="multiple" @change="time9RegionChange">
                  <a-select-option v-for="group in groups" :key="group.groupId" :value="group.groupId">
                    {{ group.groupName }}分区
                  </a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
          </a-row>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="区域喷淋方式:" name="TIME9_MODE">
                <a-select v-model:value="timeConfForm.TIME9_MODE" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">各区域同时喷同时关</a-select-option>
                  <a-select-option :value="2">各区域轮流喷淋</a-select-option>
                  <a-select-option :value="3">经典喷淋(无时间切片)</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="忽略算法:" name="TIME9_ALG">
                <a-select v-model:value="timeConfForm.TIME9_ALG" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">是</a-select-option>
                  <a-select-option :value="2">否</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="12" :sm="24" :xs="24">
            </a-col>
          </a-row>

          <a-divider orientation="left" orientation-margin="0px">时间段十</a-divider>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="时间段十开始时间:" name="TIME10_START">
                <a-time-picker v-model:value="paramForm.TIME10_START" format="HH:mm" @change="selectTime10Start" allow-clear />
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="结束时间(截止24:00):" name="TIME10_STOP">
                <time24-select :value="paramForm.TIME10_OVER" @modify="selectTime10Over" />
              </a-form-item>
            </a-col>
            <a-col :md="4" :sm="24" :xs="24">
              <a-form-item label="喷淋数据:" name="TIME10_VALID">
                <a-select v-model:value="timeConfForm.TIME10_VALID">
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">喷淋数据A</a-select-option>
                  <a-select-option :value="2">喷淋数据B</a-select-option>
                  <a-select-option :value="3">喷淋数据C</a-select-option>
                  <a-select-option :value="4">喷淋数据D</a-select-option>
                  <a-select-option :value="5">喷淋数据E</a-select-option>
                  <a-select-option :value="6">喷淋数据F</a-select-option>
                  <a-select-option :value="7">温控模式</a-select-option>
                  <a-select-option :value="8">不喷水</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col class='regionclass' :md="7" :sm="24" :xs="24" >
              <a-form-item label="区域:" name="TIME10_REGION">
                <a-select v-model:value="paramForm.TIME10_REGION_ARR" mode="multiple" @change="time10RegionChange">
                  <a-select-option v-for="group in groups" :key="group.groupId" :value="group.groupId">
                    {{ group.groupName }}分区
                  </a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
          </a-row>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="区域喷淋方式:" name="TIME10_MODE">
                <a-select v-model:value="timeConfForm.TIME10_MODE" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">各区域同时喷同时关</a-select-option>
                  <a-select-option :value="2">各区域轮流喷淋</a-select-option>
                  <a-select-option :value="3">经典喷淋(无时间切片)</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="忽略算法:" name="TIME10_ALG">
                <a-select v-model:value="timeConfForm.TIME10_ALG" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">是</a-select-option>
                  <a-select-option :value="2">否</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="12" :sm="24" :xs="24">
            </a-col>
          </a-row>

          <a-divider orientation="left" orientation-margin="0px">时间段十一</a-divider>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="时间段十一开始时间:" name="TIME11_START">
                <a-time-picker v-model:value="paramForm.TIME11_START" format="HH:mm" @change="selectTime11Start" allow-clear />
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="结束时间(截止24:00):" name="TIME11_STOP">
                <time24-select :value="paramForm.TIME11_OVER" @modify="selectTime11Over" />
              </a-form-item>
            </a-col>
            <a-col :md="4" :sm="24" :xs="24">
              <a-form-item label="喷淋数据:" name="TIME11_VALID">
                <a-select v-model:value="timeConfForm.TIME11_VALID">
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">喷淋数据A</a-select-option>
                  <a-select-option :value="2">喷淋数据B</a-select-option>
                  <a-select-option :value="3">喷淋数据C</a-select-option>
                  <a-select-option :value="4">喷淋数据D</a-select-option>
                  <a-select-option :value="5">喷淋数据E</a-select-option>
                  <a-select-option :value="6">喷淋数据F</a-select-option>
                  <a-select-option :value="7">温控模式</a-select-option>
                  <a-select-option :value="8">不喷水</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col class='regionclass' :md="7" :sm="24" :xs="24" >
              <a-form-item label="区域:" name="TIME11_REGION">
                <a-select v-model:value="paramForm.TIME11_REGION_ARR" mode="multiple" @change="time11RegionChange">
                  <a-select-option v-for="group in groups" :key="group.groupId" :value="group.groupId">
                    {{ group.groupName }}分区
                  </a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
          </a-row>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="区域喷淋方式:" name="TIME11_MODE">
                <a-select v-model:value="timeConfForm.TIME11_MODE" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">各区域同时喷同时关</a-select-option>
                  <a-select-option :value="2">各区域轮流喷淋</a-select-option>
                  <a-select-option :value="3">经典喷淋(无时间切片)</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="忽略算法:" name="TIME11_ALG">
                <a-select v-model:value="timeConfForm.TIME11_ALG" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">是</a-select-option>
                  <a-select-option :value="2">否</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="12" :sm="24" :xs="24">
            </a-col>
          </a-row>

          <a-divider orientation="left" orientation-margin="0px">时间段十二</a-divider>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="时间段十二开始时间:" name="TIME12_START">
                <a-time-picker v-model:value="paramForm.TIME12_START" format="HH:mm" @change="selectTime12Start" allow-clear />
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="结束时间(截止24:00):" name="TIME12_STOP">
                <time24-select :value="paramForm.TIME12_OVER" @modify="selectTime12Over" />
              </a-form-item>
            </a-col>
            <a-col :md="4" :sm="24" :xs="24">
              <a-form-item label="喷淋数据:" name="TIME12_VALID">
                <a-select v-model:value="timeConfForm.TIME12_VALID">
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">喷淋数据A</a-select-option>
                  <a-select-option :value="2">喷淋数据B</a-select-option>
                  <a-select-option :value="3">喷淋数据C</a-select-option>
                  <a-select-option :value="4">喷淋数据D</a-select-option>
                  <a-select-option :value="5">喷淋数据E</a-select-option>
                  <a-select-option :value="6">喷淋数据F</a-select-option>
                  <a-select-option :value="7">温控模式</a-select-option>
                  <a-select-option :value="8">不喷水</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col class='regionclass' :md="7" :sm="24" :xs="24" >
              <a-form-item label="区域:" name="TIME12_REGION">
                <a-select v-model:value="paramForm.TIME12_REGION_ARR" mode="multiple" @change="time12RegionChange">
                  <a-select-option v-for="group in groups" :key="group.groupId" :value="group.groupId">
                    {{ group.groupName }}分区
                  </a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
          </a-row>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="区域喷淋方式:" name="TIME12_MODE">
                <a-select v-model:value="timeConfForm.TIME12_MODE" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">各区域同时喷同时关</a-select-option>
                  <a-select-option :value="2">各区域轮流喷淋</a-select-option>
                  <a-select-option :value="3">经典喷淋(无时间切片)</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="忽略算法:" name="TIME12_ALG">
                <a-select v-model:value="timeConfForm.TIME12_ALG" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">是</a-select-option>
                  <a-select-option :value="2">否</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="12" :sm="24" :xs="24">
            </a-col>
          </a-row>

          <a-divider orientation="left" orientation-margin="0px">时间段十三</a-divider>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="时间段十三开始时间:" name="TIME13_START">
                <a-time-picker v-model:value="paramForm.TIME13_START" format="HH:mm" @change="selectTime13Start" allow-clear />
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="结束时间(截止24:00):" name="TIME13_STOP">
                <time24-select :value="paramForm.TIME13_OVER" @modify="selectTime13Over" />
              </a-form-item>
            </a-col>
            <a-col :md="4" :sm="24" :xs="24">
              <a-form-item label="喷淋数据:" name="TIME13_VALID">
                <a-select v-model:value="timeConfForm.TIME13_VALID">
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">喷淋数据A</a-select-option>
                  <a-select-option :value="2">喷淋数据B</a-select-option>
                  <a-select-option :value="3">喷淋数据C</a-select-option>
                  <a-select-option :value="4">喷淋数据D</a-select-option>
                  <a-select-option :value="5">喷淋数据E</a-select-option>
                  <a-select-option :value="6">喷淋数据F</a-select-option>
                  <a-select-option :value="7">温控模式</a-select-option>
                  <a-select-option :value="8">不喷水</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col class='regionclass' :md="7" :sm="24" :xs="24" >
              <a-form-item label="区域:" name="TIME13_REGION">
                <a-select v-model:value="paramForm.TIME13_REGION_ARR" mode="multiple" @change="time13RegionChange">
                  <a-select-option v-for="group in groups" :key="group.groupId" :value="group.groupId">
                    {{ group.groupName }}分区
                  </a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
          </a-row>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="区域喷淋方式:" name="TIME13_MODE">
                <a-select v-model:value="timeConfForm.TIME13_MODE" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">各区域同时喷同时关</a-select-option>
                  <a-select-option :value="2">各区域轮流喷淋</a-select-option>
                  <a-select-option :value="3">经典喷淋(无时间切片)</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="忽略算法:" name="TIME13_ALG">
                <a-select v-model:value="timeConfForm.TIME13_ALG" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">是</a-select-option>
                  <a-select-option :value="2">否</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="12" :sm="24" :xs="24">
            </a-col>
          </a-row>

          <a-divider orientation="left" orientation-margin="0px">时间段十四</a-divider>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="时间段十四开始时间:" name="TIME14_START">
                <a-time-picker v-model:value="paramForm.TIME14_START" format="HH:mm" @change="selectTime14Start" allow-clear />
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="结束时间(截止24:00):" name="TIME14_STOP">
                <time24-select :value="paramForm.TIME14_OVER" @modify="selectTime14Over" />
              </a-form-item>
            </a-col>
            <a-col :md="4" :sm="24" :xs="24">
              <a-form-item label="喷淋数据:" name="TIME14_VALID">
                <a-select v-model:value="timeConfForm.TIME14_VALID">
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">喷淋数据A</a-select-option>
                  <a-select-option :value="2">喷淋数据B</a-select-option>
                  <a-select-option :value="3">喷淋数据C</a-select-option>
                  <a-select-option :value="4">喷淋数据D</a-select-option>
                  <a-select-option :value="5">喷淋数据E</a-select-option>
                  <a-select-option :value="6">喷淋数据F</a-select-option>
                  <a-select-option :value="7">温控模式</a-select-option>
                  <a-select-option :value="8">不喷水</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col class='regionclass' :md="7" :sm="24" :xs="24" >
              <a-form-item label="区域:" name="TIME14_REGION">
                <a-select v-model:value="paramForm.TIME14_REGION_ARR" mode="multiple" @change="time14RegionChange">
                  <a-select-option v-for="group in groups" :key="group.groupId" :value="group.groupId">
                    {{ group.groupName }}分区
                  </a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
          </a-row>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="区域喷淋方式:" name="TIME14_MODE">
                <a-select v-model:value="timeConfForm.TIME14_MODE" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">各区域同时喷同时关</a-select-option>
                  <a-select-option :value="2">各区域轮流喷淋</a-select-option>
                  <a-select-option :value="3">经典喷淋(无时间切片)</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="忽略算法:" name="TIME14_ALG">
                <a-select v-model:value="timeConfForm.TIME14_ALG" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">是</a-select-option>
                  <a-select-option :value="2">否</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="12" :sm="24" :xs="24">
            </a-col>
          </a-row>


          <a-divider orientation="left" orientation-margin="0px">时间段十五</a-divider>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="时间段十五开始时间:" name="TIME15_START">
                <a-time-picker v-model:value="paramForm.TIME15_START" format="HH:mm" @change="selectTime15Start" allow-clear />
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="结束时间(截止24:00):" name="TIME15_STOP">
                <time24-select :value="paramForm.TIME15_OVER" @modify="selectTime15Over" />
              </a-form-item>
            </a-col>
            <a-col :md="4" :sm="24" :xs="24">
              <a-form-item label="喷淋数据:" name="TIME15_VALID">
                <a-select v-model:value="timeConfForm.TIME15_VALID">
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">喷淋数据A</a-select-option>
                  <a-select-option :value="2">喷淋数据B</a-select-option>
                  <a-select-option :value="3">喷淋数据C</a-select-option>
                  <a-select-option :value="4">喷淋数据D</a-select-option>
                  <a-select-option :value="5">喷淋数据E</a-select-option>
                  <a-select-option :value="6">喷淋数据F</a-select-option>
                  <a-select-option :value="7">温控模式</a-select-option>
                  <a-select-option :value="8">不喷水</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col class='regionclass' :md="7" :sm="24" :xs="24" >
              <a-form-item label="区域:" name="TIME15_REGION">
                <a-select v-model:value="paramForm.TIME15_REGION_ARR" mode="multiple" @change="time15RegionChange">
                  <a-select-option v-for="group in groups" :key="group.groupId" :value="group.groupId">
                    {{ group.groupName }}分区
                  </a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
          </a-row>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="区域喷淋方式:" name="TIME15_MODE">
                <a-select v-model:value="timeConfForm.TIME15_MODE" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">各区域同时喷同时关</a-select-option>
                  <a-select-option :value="2">各区域轮流喷淋</a-select-option>
                  <a-select-option :value="3">经典喷淋(无时间切片)</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="忽略算法:" name="TIME15_ALG">
                <a-select v-model:value="timeConfForm.TIME15_ALG" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">是</a-select-option>
                  <a-select-option :value="2">否</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="12" :sm="24" :xs="24">
            </a-col>
          </a-row>

          <a-divider orientation="left" orientation-margin="0px">时间段十六</a-divider>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="时间段十六开始时间:" name="TIME16_START">
                <a-time-picker v-model:value="paramForm.TIME16_START" format="HH:mm" @change="selectTime16Start" allow-clear />
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="结束时间(截止24:00):" name="TIME16_STOP">
                <time24-select :value="paramForm.TIME16_OVER" @modify="selectTime16Over" />
              </a-form-item>
            </a-col>
            <a-col :md="4" :sm="24" :xs="24">
              <a-form-item label="喷淋数据:" name="TIME16_VALID">
                <a-select v-model:value="timeConfForm.TIME16_VALID">
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">喷淋数据A</a-select-option>
                  <a-select-option :value="2">喷淋数据B</a-select-option>
                  <a-select-option :value="3">喷淋数据C</a-select-option>
                  <a-select-option :value="4">喷淋数据D</a-select-option>
                  <a-select-option :value="5">喷淋数据E</a-select-option>
                  <a-select-option :value="6">喷淋数据F</a-select-option>
                  <a-select-option :value="7">温控模式</a-select-option>
                  <a-select-option :value="8">不喷水</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col class='regionclass' :md="7" :sm="24" :xs="24" >
              <a-form-item label="区域:" name="TIME16_REGION">
                <a-select v-model:value="paramForm.TIME16_REGION_ARR" mode="multiple" @change="time16RegionChange">
                  <a-select-option v-for="group in groups" :key="group.groupId" :value="group.groupId">
                    {{ group.groupName }}分区
                  </a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
          </a-row>
          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="区域喷淋方式:" name="TIME16_MODE">
                <a-select v-model:value="timeConfForm.TIME16_MODE" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">各区域同时喷同时关</a-select-option>
                  <a-select-option :value="2">各区域轮流喷淋</a-select-option>
                  <a-select-option :value="3">经典喷淋(无时间切片)</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="忽略算法:" name="TIME16_ALG">
                <a-select v-model:value="timeConfForm.TIME16_ALG" >
                  <a-select-option :value="0">请选择</a-select-option>
                  <a-select-option :value="1">是</a-select-option>
                  <a-select-option :value="2">否</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
            <a-col :md="12" :sm="24" :xs="24">
            </a-col>
          </a-row>


          <a-alert message="温度上限必须大于温度下限。【忽略算法选项】的配置会覆盖掉时间段的设置的【忽略算法选项，已达到】" type="warning" />
          <a-alert message="【忽略算法选项】的配置优先级是最高的，会覆盖掉时间段的设置的【忽略算法选项】，已达到在一些高温情况下，能一直喷淋达到降温效果" type="warning" />
          <a-divider orientation="left"><a-tooltip color='orange' title="温控模式是基于时间模式基础上叠加温度的控制，在设置时间之后，可以选择是否加上温度条件的控制">温控模式温度设置</a-tooltip></a-divider>

          <a-row :gutter="8">
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="温度上限1(℃):" name="TEMP1_RANGE_HIGH">
                <a-input v-model:value="paramForm.tempModelConf.TEMP1_RANGE_HIGH" placeholder="精确到小数点后1位" allow-clear />
              </a-form-item>
              <a-form-item label="温度上限2(℃):" name="TEMP2_RANGE_HIGH">
                <a-input v-model:value="paramForm.tempModelConf.TEMP2_RANGE_HIGH" placeholder="精确到小数点后1位" allow-clear />
              </a-form-item>
              <a-form-item label="温度上限3(℃):" name="TEMP3_RANGE_HIGH">
                <a-input v-model:value="paramForm.tempModelConf.TEMP3_RANGE_HIGH" placeholder="精确到小数点后1位" allow-clear />
              </a-form-item>
              <a-form-item label="温度上限4(℃):" name="TEMP4_RANGE_HIGH">
                <a-input v-model:value="paramForm.tempModelConf.TEMP4_RANGE_HIGH" placeholder="精确到小数点后1位" allow-clear />
              </a-form-item>
              <a-form-item label="温度上限5(℃):" name="TEMP5_RANGE_HIGH">
                <a-input v-model:value="paramForm.tempModelConf.TEMP5_RANGE_HIGH" placeholder="精确到小数点后1位" allow-clear />
              </a-form-item>
              <a-form-item label="温度上限6(℃):" name="TEMP6_RANGE_HIGH">
                <a-input v-model:value="paramForm.tempModelConf.TEMP6_RANGE_HIGH" placeholder="精确到小数点后1位" allow-clear />
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="温度下限1(℃):" name="TEMP1_RANGE_LOW">
                <a-input v-model:value="paramForm.tempModelConf.TEMP1_RANGE_LOW" placeholder="精确到小数点后1位" allow-clear />
              </a-form-item>
              <a-form-item label="温度下限2(℃):" name="TEMP2_RANGE_LOW">
                <a-input v-model:value="paramForm.tempModelConf.TEMP2_RANGE_LOW" placeholder="精确到小数点后1位" allow-clear />
              </a-form-item>
              <a-form-item label="温度下限3(℃):" name="TEMP3_RANGE_LOW">
                <a-input v-model:value="paramForm.tempModelConf.TEMP3_RANGE_LOW" placeholder="精确到小数点后1位" allow-clear />
              </a-form-item>
              <a-form-item label="温度下限4(℃):" name="TEMP4_RANGE_LOW">
                <a-input v-model:value="paramForm.tempModelConf.TEMP4_RANGE_LOW" placeholder="精确到小数点后1位" allow-clear />
              </a-form-item>
              <a-form-item label="温度下限5(℃):" name="TEMP5_RANGE_LOW">
                <a-input v-model:value="paramForm.tempModelConf.TEMP5_RANGE_LOW" placeholder="精确到小数点后1位" allow-clear />
              </a-form-item>
              <a-form-item label="温度下限6(℃):" name="TEMP6_RANGE_LOW">
                <a-input v-model:value="paramForm.tempModelConf.TEMP6_RANGE_LOW" placeholder="精确到小数点后1位" allow-clear />
              </a-form-item>
            </a-col>

            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="喷淋数据:" name="TEMP1_VALID">
                <a-select v-model:value="paramForm.tempModelConf.TEMP1_VALID">
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">喷淋数据A</a-select-option>
                  <a-select-option :value="2">喷淋数据B</a-select-option>
                  <a-select-option :value="3">喷淋数据C</a-select-option>
                  <a-select-option :value="4">喷淋数据D</a-select-option>
                  <a-select-option :value="5">喷淋数据E</a-select-option>
                  <a-select-option :value="6">喷淋数据F</a-select-option>
                  <a-select-option :value="8">不喷水</a-select-option>
                </a-select>
              </a-form-item>
              <a-form-item label="喷淋数据:" name="TEMP2_VALID">
                <a-select v-model:value="paramForm.tempModelConf.TEMP2_VALID">
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">喷淋数据A</a-select-option>
                  <a-select-option :value="2">喷淋数据B</a-select-option>
                  <a-select-option :value="3">喷淋数据C</a-select-option>
                  <a-select-option :value="4">喷淋数据D</a-select-option>
                  <a-select-option :value="5">喷淋数据E</a-select-option>
                  <a-select-option :value="6">喷淋数据F</a-select-option>
                  <a-select-option :value="8">不喷水</a-select-option>
                </a-select>
              </a-form-item>
              <a-form-item label="喷淋数据:" name="TEMP3_VALID">
                <a-select v-model:value="paramForm.tempModelConf.TEMP3_VALID">
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">喷淋数据A</a-select-option>
                  <a-select-option :value="2">喷淋数据B</a-select-option>
                  <a-select-option :value="3">喷淋数据C</a-select-option>
                  <a-select-option :value="4">喷淋数据D</a-select-option>
                  <a-select-option :value="5">喷淋数据E</a-select-option>
                  <a-select-option :value="6">喷淋数据F</a-select-option>
                  <a-select-option :value="8">不喷水</a-select-option>
                </a-select>
              </a-form-item>
              <a-form-item label="喷淋数据:" name="TEMP4_VALID">
                <a-select v-model:value="paramForm.tempModelConf.TEMP4_VALID">
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">喷淋数据A</a-select-option>
                  <a-select-option :value="2">喷淋数据B</a-select-option>
                  <a-select-option :value="3">喷淋数据C</a-select-option>
                  <a-select-option :value="4">喷淋数据D</a-select-option>
                  <a-select-option :value="5">喷淋数据E</a-select-option>
                  <a-select-option :value="6">喷淋数据F</a-select-option>
                  <a-select-option :value="8">不喷水</a-select-option>
                </a-select>
              </a-form-item>
              <a-form-item label="喷淋数据:" name="TEMP5_VALID">
                <a-select v-model:value="paramForm.tempModelConf.TEMP5_VALID">
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">喷淋数据A</a-select-option>
                  <a-select-option :value="2">喷淋数据B</a-select-option>
                  <a-select-option :value="3">喷淋数据C</a-select-option>
                  <a-select-option :value="4">喷淋数据D</a-select-option>
                  <a-select-option :value="5">喷淋数据E</a-select-option>
                  <a-select-option :value="6">喷淋数据F</a-select-option>
                  <a-select-option :value="8">不喷水</a-select-option>
                </a-select>
              </a-form-item>
              <a-form-item label="喷淋数据:" name="TEMP6_VALID">
                <a-select v-model:value="paramForm.tempModelConf.TEMP6_VALID">
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">喷淋数据A</a-select-option>
                  <a-select-option :value="2">喷淋数据B</a-select-option>
                  <a-select-option :value="3">喷淋数据C</a-select-option>
                  <a-select-option :value="4">喷淋数据D</a-select-option>
                  <a-select-option :value="5">喷淋数据E</a-select-option>
                  <a-select-option :value="6">喷淋数据F</a-select-option>
                  <a-select-option :value="8">不喷水</a-select-option>
                </a-select>
              </a-form-item>  
            </a-col>
            <a-col :md="6" :sm="24" :xs="24">
              <a-form-item label="忽略算法:" name="TEMP1_ALG">
                <a-select v-model:value="paramForm.tempModelConf.TEMP1_ALG" >
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">是</a-select-option>
                </a-select>
              </a-form-item>
              <a-form-item label="忽略算法:" name="TEMP2_ALG">
                <a-select v-model:value="paramForm.tempModelConf.TEMP2_ALG" >
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">是</a-select-option>
                </a-select>
              </a-form-item>
              <a-form-item label="忽略算法:" name="TEMP3_ALG">
                <a-select v-model:value="paramForm.tempModelConf.TEMP3_ALG" >
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">是</a-select-option>
                </a-select>
              </a-form-item>
              <a-form-item label="忽略算法:" name="TEMP4_ALG">
                <a-select v-model:value="paramForm.tempModelConf.TEMP4_ALG" >
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">是</a-select-option>
                </a-select>
              </a-form-item>
              <a-form-item label="忽略算法:" name="TEMP5_ALG">
                <a-select v-model:value="paramForm.tempModelConf.TEMP5_ALG" >
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">是</a-select-option>
                </a-select>
              </a-form-item>
              <a-form-item label="忽略算法:" name="TEMP6_ALG">
                <a-select v-model:value="paramForm.tempModelConf.TEMP6_ALG" >
                  <a-select-option :value="0">无效</a-select-option>
                  <a-select-option :value="1">是</a-select-option>
                </a-select>
              </a-form-item>
            </a-col>
          </a-row>

          <!---------------- 超级模式3使用的时间段----------->
          <!--
          <a-alert  message="全喷模式使用的时间段可设置范围是00:00-24:00，开始时间必须小于结束时间" type="warning" />
          <a-divider  orientation="left">全喷模式使用的时间段</a-divider>
          <a-row :gutter="8">
            <a-col :md="12" :sm="24" :xs="24">
              <a-form-item label="全喷模式时间段一开始时间:" name="SU2_TIME1_START">
                <a-time-picker v-model:value="paramForm.SU2_TIME1_START" format="HH:mm" @change="selectSU2Time1Start" allow-clear />
              </a-form-item>
              <a-form-item label="全喷模式时间段二开始时间:" name="SU2_TIME2_START">
                <a-time-picker v-model:value="paramForm.SU2_TIME2_START" format="HH:mm" @change="selectSU2Time2Start" allow-clear />
              </a-form-item>
              <a-form-item label="全喷模式时间段三开始时间:" name="SU2_TIME3_START">
                <a-time-picker v-model:value="paramForm.SU2_TIME3_START" format="HH:mm" @change="selectSU2Time3Start" allow-clear />
              </a-form-item>
              <a-form-item label="全喷模式时间段四开始时间:" name="SU2_TIME4_START">
                <a-time-picker v-model:value="paramForm.SU2_TIME4_START" format="HH:mm" @change="selectSU2Time4Start" allow-clear />
              </a-form-item>
            </a-col>
            <a-col :md="7" :sm="24" :xs="24">
              <a-form-item label="结束时间(截止24:00):" name="SU2_TIME1_OVER">
                <time24-select :value="paramForm.SU2_TIME1_OVER" @modify="selectSU2Time1Over" />
              </a-form-item>
              <a-form-item label="结束时间(截止24:00):" name="SU2_TIME2_OVER">
                <time24-select :value="paramForm.SU2_TIME2_OVER" @modify="selectSU2Time2Over" />
              </a-form-item>
              <a-form-item label="结束时间(截止24:00):" name="SU2_TIME3_OVER">
                <time24-select :value="paramForm.SU2_TIME3_OVER" @modify="selectSU2Time3Over" />
              </a-form-item>
              <a-form-item label="结束时间(截止24:00):" name="SU2_TIME4_OVER">
                <time24-select :value="paramForm.SU2_TIME4_OVER" @modify="selectSU2Time4Over" />
              </a-form-item>
            </a-col>
            <a-col :md="5" :sm="24" :xs="24">
            </a-col>
          </a-row>
          -->


          <a-row>
            <a-col :md="8" :sm="24" :xs="24">

            </a-col>
            <a-col :md="11" :sm="24" :xs="24">
              <a-form-item :wrapper-col="{ span: 12, offset: 5 }">
                <a-button type="primary" html-type="submit">
                  保存
                </a-button>
              </a-form-item>
            </a-col>
            <a-col :md="1" :sm="24" :xs="24">

            </a-col>
            <a-col :md='2' :sm='24' :xs='24'>
            </a-col>
            <a-col :md="2" :sm="24" :xs="24">

            </a-col>
          </a-row>
        </a-form>
      </a-card>
    </div>
  </a-modal>
</template>

<script>
import dayjs from 'dayjs';
import Time24Select from '@/components/Time24Select/Time24Select.vue';
import { message } from 'ant-design-vue';
import { DeviceSprayCameraScheduleConfigApi} from "@/api/property/spraycamera/DeviceSprayCameraScheduleConfigApi";
import { DeviceSprayCameraGroupApi} from "@/api/property/spraycamera/DeviceSprayCameraGroupApi"
import { DeviceEnvControlApi} from "@/api/property/DeviceEnvControlApi";
import { DeviceSprayFanlinkcameraApi} from "@/api/property/sprayfanlinkcamera/DeviceSprayFanlinkcameraApi";
import { DeviceSprayCtocabinetApi } from "@/api/property/DeviceSprayCtocabinetApi";
export default {
  name: 'DeviceManagerdeviceCameraAssignmentConfig',
  components: {
    Time24Select
  },
  emits: ['done', 'update:visible'],
  props: {
    // 弹窗是否打开
    visible: Boolean,
    // 菜单数据
    data: Object
  },
  async mounted() {
    await this.loadGroups()
    await this.loadEnvRecordId()
  },
  async created() {
    await this.init()
  },
  data() {
    return {
      form : {},
      paramForm : {},
      timeConfForm : {},
      super3TimeConfForm : {},
      rules: {

      },
      iconLoading: false,
      loadTimer: '',

      getParamsLoading : false,
      getParamsTimer : '',
      groups: [], // 分区数据数组
      envRecords : [],
    };
  },
  methods: {
    // 加载分区数据
    async loadGroups() {
      try {
        const result = await DeviceSprayCameraGroupApi.list({ oxtallId: this.data.oxtallId })
        this.groups = result || []
      } catch (error) {
        message.error('加载分区数据失败')
      }
    },
    async loadEnvRecordId() {
      try {
        const result = await DeviceEnvControlApi.findPage({ oxtallId: this.data.oxtallId, pageNo : 1,  pageSize : 1000})
        if (result.rows && result.rows.length > 0) {
          result.rows.forEach((record, index) => {
            this.envRecords.push({
              recordId : record.recordId,
              deviceName : "环控设备",
            })
          })
        }
      } catch (error) {
        message.error('加载环控设备数据失败')
      }
      try {
        const result = await DeviceSprayCtocabinetApi.findPage({ queryOxtallId: this.data.oxtallId, pageNo : 1,  pageSize : 1000})
        if (result.rows && result.rows.length > 0) {
          result.rows.forEach((record, index) => {
            this.envRecords.push({
              recordId : record.recordId,
              deviceName : "喷淋控制柜设备",
            })
          })
        }
      } catch (error) {
        message.error('加载喷淋控制柜设备数据失败');
      }
      /*
      try {
        const result = await DeviceSprayFanlinkcameraApi.findPage({ oxtallId: this.data.oxtallId, pageNo : 1,  pageSize : 1000})
        if (result.rows && result.rows.length > 0) {
          result.rows.forEach((record, index) => {
            this.envRecords.push({
              recordId : record.recordId,
              deviceName : "风机联动设备",
            })
          })
        }
      } catch (error) {
        message.error('加载环控设备数据失败')
      }*/
    },
    parse1248(region) {
      if (!region) {
        return new Array();
      }
      return region.split(',').map(item => item.trim());
    },
    async init() {
      this.paramForm.sprayModelData = {};
      this.paramForm.tempModelConf = {};
      let _conf = await DeviceSprayCameraScheduleConfigApi.configByOxtallId(this.data.oxtallId);
      if (_conf) {
        this.form = _conf;
        this.paramForm.temperatureRecordId = _conf.temperatureRecordId;
        this.paramForm.idendify = _conf.idendify;
          //{"A_STOP":30,"A_ACTION":20,"B_STOP":280,"B_ACTION":10,"C_STOP":400,"C_ACTION":10,"D_STOP":400,"D_ACTION":10,"E_STOP":400,"E_ACTION":10,"F_STOP":400,"F_ACTION":10}
        this.paramForm.sprayModelData = _conf.sprayModelData ? ((JSON.parse(_conf.sprayModelData)) || {}) : {};
        let timeConf = Object.assign({}, (_conf.timeModelConf ? (JSON.parse(_conf.timeModelConf) || {}) : {}));
        this.timeConfForm = timeConf;
        if (timeConf) {
          //{"TIME1_START_HOUR":9,"TIME1_START_MIN":30,"TIME1_OVER_HOUR":23,"TIME1_OVER_MIN":59,"TIME1_VALID":7,"TIME2_START_HOUR":0,"TIME2_START_MIN":0,"TIME2_OVER_HOUR":24,"TIME2_OVER_MIN":0,"TIME2_VALID":0,"TIME3_START_HOUR":0,"TIME3_START_MIN":0,"TIME3_OVER_HOUR":23,"TIME3_OVER_MIN":0,"TIME3_VALID":0,"TIME4_START_HOUR":0,"TIME4_START_MIN":0,"TIME5_OVER_HOUR":24,"TIME5_OVER_MIN":0,"TIME5_VALID":0,"TIME6_START_HOUR":0,"TIME6_START_MIN":0,"TIME6_OVER_HOUR":24,"TIME6_OVER_MIN":0,"TIME6_VALID":0,"TIME7_START_HOUR":0,"TIME7_START_MIN":0,"TIME7_OVER_HOUR":24,"TIME7_OVER_MIN":0,"TIME7_VALID":0,"TIME8_START_HOUR":0,"TIME8_START_MIN":0,"TIME8_OVER_HOUR":24,"TIME8_OVER_MIN":0,"TIME8_VALID":0}
          let _TIME1_START_HOUR = timeConf.TIME1_START_HOUR ? Number(timeConf.TIME1_START_HOUR) : 0,
            _TIME1_START_MIN = timeConf.TIME1_START_MIN ? Number(timeConf.TIME1_START_MIN) : 0,
            _TIME1_OVER_HOUR = timeConf.TIME1_OVER_HOUR ? Number(timeConf.TIME1_OVER_HOUR) : 0,
            _TIME1_OVER_MIN = timeConf.TIME1_OVER_MIN ? Number(timeConf.TIME1_OVER_MIN) : 0;
          this.paramForm.TIME1_START= dayjs( ((_TIME1_START_HOUR < 10 ? ("0" + _TIME1_START_HOUR) : _TIME1_START_HOUR) + ":" + (_TIME1_START_MIN < 10 ? ("0" + _TIME1_START_MIN) : _TIME1_START_MIN)), 'HH:mm');
          this.paramForm.TIME1_OVER = [_TIME1_OVER_HOUR, _TIME1_OVER_MIN];
          this.paramForm.TIME1_REGION_ARR = this.parse1248(timeConf.TIME1_REGION ? timeConf.TIME1_REGION : '');
          this.timeConfForm.TIME1_VALID = timeConf.TIME1_VALID ? Number(timeConf.TIME1_VALID) : 0;
          this.timeConfForm.TIME1_MODE = timeConf.TIME1_MODE ? Number(timeConf.TIME1_MODE) : 0;
          this.timeConfForm.TIME1_ALG = timeConf.TIME1_ALG ? Number(timeConf.TIME1_ALG) : 0;
          this.timeConfForm.TIME1_START_HOUR = _TIME1_START_HOUR;
          this.timeConfForm.TIME1_START_MIN = _TIME1_START_MIN;
          this.timeConfForm.TIME1_OVER_HOUR = _TIME1_OVER_HOUR;
          this.timeConfForm.TIME1_OVER_MIN = _TIME1_OVER_MIN;


          let _TIME2_START_HOUR = timeConf.TIME2_START_HOUR ? Number(timeConf.TIME2_START_HOUR) : 0,
            _TIME2_START_MIN = timeConf.TIME2_START_MIN ? Number(timeConf.TIME2_START_MIN) : 0,
            _TIME2_OVER_HOUR = timeConf.TIME2_OVER_HOUR ? Number(timeConf.TIME2_OVER_HOUR) : 0,
            _TIME2_OVER_MIN = timeConf.TIME2_OVER_MIN ? Number(timeConf.TIME2_OVER_MIN) : 0;
          this.paramForm.TIME2_START = dayjs(((_TIME2_START_HOUR < 10 ? ("0" + _TIME2_START_HOUR) : _TIME2_START_HOUR) + ":" +  (_TIME2_START_MIN < 10 ? ("0" + _TIME2_START_MIN) : _TIME2_START_MIN)), 'HH:mm');
          this.paramForm.TIME2_OVER = [_TIME2_OVER_HOUR, _TIME2_OVER_MIN];
          this.paramForm.TIME2_REGION_ARR = this.parse1248(timeConf.TIME2_REGION ? timeConf.TIME2_REGION : '');
          this.timeConfForm.TIME2_VALID = timeConf.TIME2_VALID ? Number(timeConf.TIME2_VALID) : 0;
          this.timeConfForm.TIME2_MODE = timeConf.TIME2_MODE ? Number(timeConf.TIME2_MODE) : 0;
          this.timeConfForm.TIME2_ALG = timeConf.TIME2_ALG ? Number(timeConf.TIME2_ALG) : 0;
          this.timeConfForm.TIME2_START_HOUR = _TIME2_START_HOUR;
          this.timeConfForm.TIME2_START_MIN = _TIME2_START_MIN;
          this.timeConfForm.TIME2_OVER_HOUR = _TIME2_OVER_HOUR;
          this.timeConfForm.TIME2_OVER_MIN = _TIME2_OVER_MIN;

          let _TIME3_START_HOUR = timeConf.TIME3_START_HOUR ? Number(timeConf.TIME3_START_HOUR) : 0,
            _TIME3_START_MIN = timeConf.TIME3_START_MIN ? Number(timeConf.TIME3_START_MIN) : 0,
            _TIME3_OVER_HOUR = timeConf.TIME3_OVER_HOUR ? Number(timeConf.TIME3_OVER_HOUR) : 0,
            _TIME3_OVER_MIN= timeConf.TIME3_OVER_MIN ? Number(timeConf.TIME3_OVER_MIN) : 0;
          this.paramForm.TIME3_START = dayjs(((_TIME3_START_HOUR < 10 ? ("0" + _TIME3_START_HOUR) : _TIME3_START_HOUR) + ":" +  (_TIME3_START_MIN < 10 ? ("0" + _TIME3_START_MIN) : _TIME3_START_MIN)), 'HH:mm');
          this.paramForm.TIME3_OVER = [_TIME3_OVER_HOUR, _TIME3_OVER_MIN];
          this.paramForm.TIME3_REGION_ARR = this.parse1248(timeConf.TIME3_REGION ? timeConf.TIME3_REGION : '');
          this.timeConfForm.TIME3_VALID = timeConf.TIME3_VALID ? Number(timeConf.TIME3_VALID) : 0;
          this.timeConfForm.TIME3_MODE = timeConf.TIME3_MODE ? Number(timeConf.TIME3_MODE) : 0;
          this.timeConfForm.TIME3_ALG = timeConf.TIME3_ALG ? Number(timeConf.TIME3_ALG) : 0;
          this.timeConfForm.TIME3_START_HOUR = _TIME3_START_HOUR;
          this.timeConfForm.TIME3_START_MIN = _TIME3_START_MIN;
          this.timeConfForm.TIME3_OVER_HOUR = _TIME3_OVER_HOUR;
          this.timeConfForm.TIME3_OVER_MIN = _TIME3_OVER_MIN;


          let _TIME4_START_HOUR = timeConf.TIME4_START_HOUR ? Number(timeConf.TIME4_START_HOUR) : 0,
            _TIME4_START_MIN = timeConf.TIME4_START_MIN ? Number(timeConf.TIME4_START_MIN) : 0,
            _TIME4_OVER_HOUR = timeConf.TIME4_OVER_HOUR ? Number(timeConf.TIME4_OVER_HOUR) : 0,
            _TIME4_OVER_MIN = timeConf.TIME4_OVER_MIN ? Number(timeConf.TIME4_OVER_MIN) : 0;
          this.paramForm.TIME4_START = dayjs(((_TIME4_START_HOUR < 10 ? ("0" + _TIME4_START_HOUR) : _TIME4_START_HOUR) + ":" +  (_TIME4_START_MIN < 10 ? ("0" + _TIME4_START_MIN) : _TIME4_START_MIN)), 'HH:mm');
          this.paramForm.TIME4_OVER = [_TIME4_OVER_HOUR,_TIME4_OVER_MIN ];
          this.paramForm.TIME4_REGION_ARR = this.parse1248(timeConf.TIME4_REGION ? timeConf.TIME4_REGION : '');
          this.timeConfForm.TIME4_VALID = timeConf.TIME4_VALID ? Number(timeConf.TIME4_VALID) : 0;
          this.timeConfForm.TIME4_MODE = timeConf.TIME4_MODE ? Number(timeConf.TIME4_MODE) : 0;
          this.timeConfForm.TIME4_ALG = timeConf.TIME4_ALG ? Number(timeConf.TIME4_ALG) : 0;
          this.timeConfForm.TIME4_START_HOUR = _TIME4_START_HOUR;
          this.timeConfForm.TIME4_START_MIN = _TIME4_START_MIN;
          this.timeConfForm.TIME4_OVER_HOUR = _TIME4_OVER_HOUR;
          this.timeConfForm.TIME4_OVER_MIN = _TIME4_OVER_MIN;

          let _TIME5_START_HOUR = timeConf.TIME5_START_HOUR ? Number(timeConf.TIME5_START_HOUR) : 0,
            _TIME5_START_MIN = timeConf.TIME5_START_MIN ? Number(timeConf.TIME5_START_MIN) : 0,
            _TIME5_OVER_HOUR = timeConf.TIME5_OVER_HOUR ? Number(timeConf.TIME5_OVER_HOUR) : 0,
            _TIME5_OVER_MIN = timeConf.TIME5_OVER_MIN ? Number(timeConf.TIME5_OVER_MIN) : 0;
          this.paramForm.TIME5_START = dayjs(((_TIME5_START_HOUR < 10 ? ("0" + _TIME5_START_HOUR) : _TIME5_START_HOUR) + ":" +  (_TIME5_START_MIN < 10 ? ("0" + _TIME5_START_MIN) : _TIME5_START_MIN)), 'HH:mm');
          this.paramForm.TIME5_OVER = [_TIME5_OVER_HOUR, _TIME5_OVER_MIN];
          this.paramForm.TIME5_REGION_ARR = this.parse1248(timeConf.TIME5_REGION ? timeConf.TIME5_REGION : '');
          this.timeConfForm.TIME5_VALID = timeConf.TIME5_VALID ? Number(timeConf.TIME5_VALID) : 0;
          this.timeConfForm.TIME5_MODE = timeConf.TIME5_MODE ? Number(timeConf.TIME5_MODE) : 0;
          this.timeConfForm.TIME5_ALG = timeConf.TIME5_ALG ? Number(timeConf.TIME5_ALG) : 0;
          this.timeConfForm.TIME5_START_HOUR = _TIME5_START_HOUR;
          this.timeConfForm.TIME5_START_MIN = _TIME5_START_MIN;
          this.timeConfForm.TIME5_OVER_HOUR = _TIME5_OVER_HOUR;
          this.timeConfForm.TIME5_OVER_MIN = _TIME5_OVER_MIN;


          let _TIME6_START_HOUR = timeConf.TIME6_START_HOUR ? Number(timeConf.TIME6_START_HOUR) : 0,
            _TIME6_START_MIN = timeConf.TIME6_START_MIN ? Number(timeConf.TIME6_START_MIN) : 0,
            _TIME6_OVER_HOUR = timeConf.TIME6_OVER_HOUR ? Number(timeConf.TIME6_OVER_HOUR) : 0,
            _TIME6_OVER_MIN = timeConf.TIME6_OVER_MIN ? Number(timeConf.TIME6_OVER_MIN) : 0;
          this.paramForm.TIME6_START = dayjs(((_TIME6_START_HOUR < 10 ? ("0" +_TIME6_START_HOUR) : _TIME6_START_HOUR) + ":" +  (_TIME6_START_MIN < 10 ? ("0" + _TIME6_START_MIN) : _TIME6_START_MIN)), 'HH:mm');
          this.paramForm.TIME6_OVER = [_TIME6_OVER_HOUR, _TIME6_OVER_MIN];
          this.paramForm.TIME6_REGION_ARR = this.parse1248(timeConf.TIME6_REGION ? timeConf.TIME6_REGION : '');
          this.timeConfForm.TIME6_VALID = timeConf.TIME6_VALID ? Number(timeConf.TIME6_VALID) : 0;
          this.timeConfForm.TIME6_MODE = timeConf.TIME6_MODE ? Number(timeConf.TIME6_MODE) : 0;
          this.timeConfForm.TIME6_ALG = timeConf.TIME6_ALG ? Number(timeConf.TIME6_ALG) : 0;
          this.timeConfForm.TIME6_START_HOUR = _TIME6_START_HOUR;
          this.timeConfForm.TIME6_START_MIN = _TIME6_START_MIN;
          this.timeConfForm.TIME6_OVER_HOUR = _TIME6_OVER_HOUR;
          this.timeConfForm.TIME6_OVER_MIN = _TIME6_OVER_MIN;

          let _TIME7_START_HOUR = timeConf.TIME7_START_HOUR ? Number(timeConf.TIME7_START_HOUR) : 0,
            _TIME7_START_MIN = timeConf.TIME7_START_MIN ? Number(timeConf.TIME7_START_MIN) : 0,
            _TIME7_OVER_HOUR = timeConf.TIME7_OVER_HOUR ? Number(timeConf.TIME7_OVER_HOUR) : 0,
            _TIME7_OVER_MIN = timeConf.TIME7_OVER_MIN ? Number(timeConf.TIME7_OVER_MIN) : 0;
          this.paramForm.TIME7_START = dayjs(((_TIME7_START_HOUR < 10 ? ("0" + _TIME7_START_HOUR) : _TIME7_START_HOUR) + ":" +  (_TIME7_START_MIN < 10 ? ("0" + _TIME7_START_MIN) : _TIME7_START_MIN)), 'HH:mm');
          this.paramForm.TIME7_OVER = [_TIME7_OVER_HOUR, _TIME7_OVER_MIN];
          this.paramForm.TIME7_REGION_ARR = this.parse1248(timeConf.TIME7_REGION ? timeConf.TIME7_REGION : '');
          this.timeConfForm.TIME7_VALID = timeConf.TIME7_VALID ? Number(timeConf.TIME7_VALID) : 0;
          this.timeConfForm.TIME7_MODE = timeConf.TIME7_MODE ? Number(timeConf.TIME7_MODE) : 0;
          this.timeConfForm.TIME7_ALG = timeConf.TIME7_ALG ? Number(timeConf.TIME7_ALG) : 0;
          this.timeConfForm.TIME7_START_HOUR = _TIME7_START_HOUR;
          this.timeConfForm.TIME7_START_MIN = _TIME7_START_MIN;
          this.timeConfForm.TIME7_OVER_HOUR = _TIME7_OVER_HOUR;
          this.timeConfForm.TIME7_OVER_MIN = _TIME7_OVER_MIN;

          let _TIME8_START_HOUR = timeConf.TIME8_START_HOUR ? Number(timeConf.TIME8_START_HOUR) : 0,
            _TIME8_START_MIN = timeConf.TIME8_START_MIN ? Number(timeConf.TIME8_START_MIN) : 0,
            _TIME8_OVER_HOUR = timeConf.TIME8_OVER_HOUR ? Number(timeConf.TIME8_OVER_HOUR) : 0,
            _TIME8_OVER_MIN = timeConf.TIME8_OVER_MIN ? Number(timeConf.TIME8_OVER_MIN) : 0;
          this.paramForm.TIME8_START = dayjs(((_TIME8_START_HOUR < 10 ? ("0" + _TIME8_START_HOUR) : _TIME8_START_HOUR) + ":" +  (_TIME8_START_MIN < 10 ? ("0" + _TIME8_START_MIN) : _TIME8_START_MIN)), 'HH:mm');
          this.paramForm.TIME8_OVER = [_TIME8_OVER_HOUR, _TIME8_OVER_MIN];
          this.paramForm.TIME8_REGION_ARR = this.parse1248(timeConf.TIME8_REGION ? timeConf.TIME8_REGION : '');
          this.timeConfForm.TIME8_VALID = timeConf.TIME8_VALID ? Number(timeConf.TIME8_VALID) : 0;
          this.timeConfForm.TIME8_MODE = timeConf.TIME8_MODE ? Number(timeConf.TIME8_MODE) : 0;
          this.timeConfForm.TIME8_ALG = timeConf.TIME8_ALG ? Number(timeConf.TIME8_ALG) : 0;
          this.timeConfForm.TIME8_START_HOUR = _TIME8_START_HOUR;
          this.timeConfForm.TIME8_START_MIN = _TIME8_START_MIN;
          this.timeConfForm.TIME8_OVER_HOUR = _TIME8_OVER_HOUR;
          this.timeConfForm.TIME8_OVER_MIN = _TIME8_OVER_MIN;

          let _TIME9_START_HOUR = timeConf.TIME9_START_HOUR ? Number(timeConf.TIME9_START_HOUR) : 0,
            _TIME9_START_MIN = timeConf.TIME9_START_MIN ? Number(timeConf.TIME9_START_MIN) : 0,
            _TIME9_OVER_HOUR = timeConf.TIME9_OVER_HOUR ? Number(timeConf.TIME9_OVER_HOUR) : 0,
            _TIME9_OVER_MIN = timeConf.TIME9_OVER_MIN ? Number(timeConf.TIME9_OVER_MIN) : 0;
          this.paramForm.TIME9_START = dayjs(((_TIME9_START_HOUR < 10 ? ("0" + _TIME9_START_HOUR) : _TIME9_START_HOUR) + ":" +  (_TIME9_START_MIN < 10 ? ("0" + _TIME9_START_MIN) : _TIME9_START_MIN)), 'HH:mm');
          this.paramForm.TIME9_OVER = [_TIME9_OVER_HOUR, _TIME9_OVER_MIN];
          this.paramForm.TIME9_REGION_ARR = this.parse1248(timeConf.TIME9_REGION ? timeConf.TIME9_REGION : '');
          this.timeConfForm.TIME9_VALID = timeConf.TIME9_VALID ? Number(timeConf.TIME9_VALID) : 0;
          this.timeConfForm.TIME9_MODE = timeConf.TIME9_MODE ? Number(timeConf.TIME9_MODE) : 0;
          this.timeConfForm.TIME9_ALG = timeConf.TIME9_ALG ? Number(timeConf.TIME9_ALG) : 0;
          this.timeConfForm.TIME9_START_HOUR = _TIME9_START_HOUR;
          this.timeConfForm.TIME9_START_MIN = _TIME9_START_MIN;
          this.timeConfForm.TIME9_OVER_HOUR = _TIME9_OVER_HOUR;
          this.timeConfForm.TIME9_OVER_MIN = _TIME9_OVER_MIN;

          let _TIME10_START_HOUR = timeConf.TIME10_START_HOUR ? Number(timeConf.TIME10_START_HOUR) : 0,
            _TIME10_START_MIN = timeConf.TIME10_START_MIN ? Number(timeConf.TIME10_START_MIN) : 0,
            _TIME10_OVER_HOUR = timeConf.TIME10_OVER_HOUR ? Number(timeConf.TIME10_OVER_HOUR) : 0,
            _TIME10_OVER_MIN = timeConf.TIME10_OVER_MIN ? Number(timeConf.TIME10_OVER_MIN) : 0;
          this.paramForm.TIME10_START = dayjs(((_TIME10_START_HOUR < 10 ? ("0" + _TIME10_START_HOUR) : _TIME10_START_HOUR) + ":" +  (_TIME10_START_MIN < 10 ? ("0" + _TIME10_START_MIN) : _TIME10_START_MIN)), 'HH:mm');
          this.paramForm.TIME10_OVER = [_TIME10_OVER_HOUR, _TIME10_OVER_MIN];
          this.paramForm.TIME10_REGION_ARR = this.parse1248(timeConf.TIME10_REGION ? timeConf.TIME10_REGION : '');
          this.timeConfForm.TIME10_VALID = timeConf.TIME10_VALID ? Number(timeConf.TIME10_VALID) : 0;
          this.timeConfForm.TIME10_MODE = timeConf.TIME10_MODE ? Number(timeConf.TIME10_MODE) : 0;
          this.timeConfForm.TIME10_ALG = timeConf.TIME10_ALG ? Number(timeConf.TIME10_ALG) : 0;
          this.timeConfForm.TIME10_START_HOUR = _TIME10_START_HOUR;
          this.timeConfForm.TIME10_START_MIN = _TIME10_START_MIN;
          this.timeConfForm.TIME10_OVER_HOUR = _TIME10_OVER_HOUR;
          this.timeConfForm.TIME10_OVER_MIN = _TIME10_OVER_MIN;

          let _TIME11_START_HOUR = timeConf.TIME11_START_HOUR ? Number(timeConf.TIME11_START_HOUR) : 0,
            _TIME11_START_MIN = timeConf.TIME11_START_MIN ? Number(timeConf.TIME11_START_MIN) : 0,
            _TIME11_OVER_HOUR = timeConf.TIME11_OVER_HOUR ? Number(timeConf.TIME11_OVER_HOUR) : 0,
            _TIME11_OVER_MIN = timeConf.TIME11_OVER_MIN ? Number(timeConf.TIME11_OVER_MIN) : 0;
          this.paramForm.TIME11_START = dayjs(((_TIME11_START_HOUR < 10 ? ("0" + _TIME11_START_HOUR) : _TIME11_START_HOUR) + ":" +  (_TIME11_START_MIN < 10 ? ("0" + _TIME11_START_MIN) : _TIME11_START_MIN)), 'HH:mm');
          this.paramForm.TIME11_OVER = [_TIME11_OVER_HOUR, _TIME11_OVER_MIN];
          this.paramForm.TIME11_REGION_ARR = this.parse1248(timeConf.TIME11_REGION ? timeConf.TIME11_REGION : '');
          this.timeConfForm.TIME11_VALID = timeConf.TIME11_VALID ? Number(timeConf.TIME11_VALID) : 0;
          this.timeConfForm.TIME11_MODE = timeConf.TIME11_MODE ? Number(timeConf.TIME11_MODE) : 0;
          this.timeConfForm.TIME11_ALG = timeConf.TIME11_ALG ? Number(timeConf.TIME11_ALG) : 0;
          this.timeConfForm.TIME11_START_HOUR = _TIME11_START_HOUR;
          this.timeConfForm.TIME11_START_MIN = _TIME11_START_MIN;
          this.timeConfForm.TIME11_OVER_HOUR = _TIME11_OVER_HOUR;
          this.timeConfForm.TIME11_OVER_MIN = _TIME11_OVER_MIN;

          let _TIME12_START_HOUR = timeConf.TIME12_START_HOUR ? Number(timeConf.TIME12_START_HOUR) : 0,
            _TIME12_START_MIN = timeConf.TIME12_START_MIN ? Number(timeConf.TIME12_START_MIN) : 0,
            _TIME12_OVER_HOUR = timeConf.TIME12_OVER_HOUR ? Number(timeConf.TIME12_OVER_HOUR) : 0,
            _TIME12_OVER_MIN = timeConf.TIME12_OVER_MIN ? Number(timeConf.TIME12_OVER_MIN) : 0;
          this.paramForm.TIME12_START = dayjs(((_TIME12_START_HOUR < 10 ? ("0" + _TIME12_START_HOUR) : _TIME12_START_HOUR) + ":" +  (_TIME12_START_MIN < 10 ? ("0" + _TIME12_START_MIN) : _TIME12_START_MIN)), 'HH:mm');
          this.paramForm.TIME12_OVER = [_TIME12_OVER_HOUR, _TIME12_OVER_MIN];
          this.paramForm.TIME12_REGION_ARR = this.parse1248(timeConf.TIME12_REGION ? timeConf.TIME12_REGION : '');
          this.timeConfForm.TIME12_VALID = timeConf.TIME12_VALID ? Number(timeConf.TIME12_VALID) : 0;
          this.timeConfForm.TIME12_MODE = timeConf.TIME12_MODE ? Number(timeConf.TIME12_MODE) : 0;
          this.timeConfForm.TIME12_ALG = timeConf.TIME12_ALG ? Number(timeConf.TIME12_ALG) : 0;
          this.timeConfForm.TIME12_START_HOUR = _TIME12_START_HOUR;
          this.timeConfForm.TIME12_START_MIN = _TIME12_START_MIN;
          this.timeConfForm.TIME12_OVER_HOUR = _TIME12_OVER_HOUR;
          this.timeConfForm.TIME12_OVER_MIN = _TIME12_OVER_MIN;

          let _TIME13_START_HOUR = timeConf.TIME13_START_HOUR ? Number(timeConf.TIME13_START_HOUR) : 0,
            _TIME13_START_MIN = timeConf.TIME13_START_MIN ? Number(timeConf.TIME13_START_MIN) : 0,
            _TIME13_OVER_HOUR = timeConf.TIME13_OVER_HOUR ? Number(timeConf.TIME13_OVER_HOUR) : 0,
            _TIME13_OVER_MIN = timeConf.TIME13_OVER_MIN ? Number(timeConf.TIME13_OVER_MIN) : 0;
          this.paramForm.TIME13_START = dayjs(((_TIME13_START_HOUR < 10 ? ("0" + _TIME13_START_HOUR) : _TIME13_START_HOUR) + ":" +  (_TIME13_START_MIN < 10 ? ("0" + _TIME13_START_MIN) : _TIME13_START_MIN)), 'HH:mm');
          this.paramForm.TIME13_OVER = [_TIME13_OVER_HOUR, _TIME13_OVER_MIN];
          this.paramForm.TIME13_REGION_ARR = this.parse1248(timeConf.TIME13_REGION ? timeConf.TIME13_REGION : '');
          this.timeConfForm.TIME13_VALID = timeConf.TIME13_VALID ? Number(timeConf.TIME13_VALID) : 0;
          this.timeConfForm.TIME13_MODE = timeConf.TIME13_MODE ? Number(timeConf.TIME13_MODE) : 0;
          this.timeConfForm.TIME13_ALG = timeConf.TIME13_ALG ? Number(timeConf.TIME13_ALG) : 0;
          this.timeConfForm.TIME13_START_HOUR = _TIME13_START_HOUR;
          this.timeConfForm.TIME13_START_MIN = _TIME13_START_MIN;
          this.timeConfForm.TIME13_OVER_HOUR = _TIME13_OVER_HOUR;
          this.timeConfForm.TIME13_OVER_MIN = _TIME13_OVER_MIN;

          let _TIME14_START_HOUR = timeConf.TIME14_START_HOUR ? Number(timeConf.TIME14_START_HOUR) : 0,
            _TIME14_START_MIN = timeConf.TIME14_START_MIN ? Number(timeConf.TIME14_START_MIN) : 0,
            _TIME14_OVER_HOUR = timeConf.TIME14_OVER_HOUR ? Number(timeConf.TIME14_OVER_HOUR) : 0,
            _TIME14_OVER_MIN = timeConf.TIME14_OVER_MIN ? Number(timeConf.TIME14_OVER_MIN) : 0;
          this.paramForm.TIME14_START = dayjs(((_TIME14_START_HOUR < 10 ? ("0" + _TIME14_START_HOUR) : _TIME14_START_HOUR) + ":" +  (_TIME14_START_MIN < 10 ? ("0" + _TIME14_START_MIN) : _TIME14_START_MIN)), 'HH:mm');
          this.paramForm.TIME14_OVER = [_TIME14_OVER_HOUR, _TIME14_OVER_MIN];
          this.paramForm.TIME14_REGION_ARR = this.parse1248(timeConf.TIME14_REGION ? timeConf.TIME14_REGION : '');
          this.timeConfForm.TIME14_VALID = timeConf.TIME14_VALID ? Number(timeConf.TIME14_VALID) : 0;
          this.timeConfForm.TIME14_MODE = timeConf.TIME14_MODE ? Number(timeConf.TIME14_MODE) : 0;
          this.timeConfForm.TIME14_ALG = timeConf.TIME14_ALG ? Number(timeConf.TIME14_ALG) : 0;
          this.timeConfForm.TIME14_START_HOUR = _TIME14_START_HOUR;
          this.timeConfForm.TIME14_START_MIN = _TIME14_START_MIN;
          this.timeConfForm.TIME14_OVER_HOUR = _TIME14_OVER_HOUR;
          this.timeConfForm.TIME14_OVER_MIN = _TIME14_OVER_MIN;

          let _TIME15_START_HOUR = timeConf.TIME15_START_HOUR ? Number(timeConf.TIME15_START_HOUR) : 0,
            _TIME15_START_MIN = timeConf.TIME15_START_MIN ? Number(timeConf.TIME15_START_MIN) : 0,
            _TIME15_OVER_HOUR = timeConf.TIME15_OVER_HOUR ? Number(timeConf.TIME15_OVER_HOUR) : 0,
            _TIME15_OVER_MIN = timeConf.TIME15_OVER_MIN ? Number(timeConf.TIME15_OVER_MIN) : 0;
          this.paramForm.TIME15_START = dayjs(((_TIME15_START_HOUR < 10 ? ("0" + _TIME15_START_HOUR) : _TIME15_START_HOUR) + ":" +  (_TIME15_START_MIN < 10 ? ("0" + _TIME15_START_MIN) : _TIME15_START_MIN)), 'HH:mm');
          this.paramForm.TIME15_OVER = [_TIME15_OVER_HOUR, _TIME15_OVER_MIN];
          this.paramForm.TIME15_REGION_ARR = this.parse1248(timeConf.TIME15_REGION ? timeConf.TIME15_REGION : '');
          this.timeConfForm.TIME15_VALID = timeConf.TIME15_VALID ? Number(timeConf.TIME15_VALID) : 0;
          this.timeConfForm.TIME15_MODE = timeConf.TIME15_MODE ? Number(timeConf.TIME15_MODE) : 0;
          this.timeConfForm.TIME15_ALG = timeConf.TIME15_ALG ? Number(timeConf.TIME15_ALG) : 0;
          this.timeConfForm.TIME15_START_HOUR = _TIME15_START_HOUR;
          this.timeConfForm.TIME15_START_MIN = _TIME15_START_MIN;
          this.timeConfForm.TIME15_OVER_HOUR = _TIME15_OVER_HOUR;
          this.timeConfForm.TIME15_OVER_MIN = _TIME15_OVER_MIN;

          let _TIME16_START_HOUR = timeConf.TIME16_START_HOUR ? Number(timeConf.TIME16_START_HOUR) : 0,
            _TIME16_START_MIN = timeConf.TIME16_START_MIN ? Number(timeConf.TIME16_START_MIN) : 0,
            _TIME16_OVER_HOUR = timeConf.TIME16_OVER_HOUR ? Number(timeConf.TIME16_OVER_HOUR) : 0,
            _TIME16_OVER_MIN = timeConf.TIME16_OVER_MIN ? Number(timeConf.TIME16_OVER_MIN) : 0;
          this.paramForm.TIME16_START = dayjs(((_TIME16_START_HOUR < 10 ? ("0" + _TIME16_START_HOUR) : _TIME16_START_HOUR) + ":" +  (_TIME16_START_MIN < 10 ? ("0" + _TIME16_START_MIN) : _TIME16_START_MIN)), 'HH:mm');
          this.paramForm.TIME16_OVER = [_TIME16_OVER_HOUR, _TIME16_OVER_MIN];
          this.paramForm.TIME16_REGION_ARR = this.parse1248(timeConf.TIME16_REGION ? timeConf.TIME16_REGION : '');
          this.timeConfForm.TIME16_VALID = timeConf.TIME16_VALID ? Number(timeConf.TIME16_VALID) : 0;
          this.timeConfForm.TIME16_MODE = timeConf.TIME16_MODE ? Number(timeConf.TIME16_MODE) : 0;
          this.timeConfForm.TIME16_ALG = timeConf.TIME16_ALG ? Number(timeConf.TIME16_ALG) : 0;
          this.timeConfForm.TIME16_START_HOUR = _TIME16_START_HOUR;
          this.timeConfForm.TIME16_START_MIN = _TIME16_START_MIN;
          this.timeConfForm.TIME16_OVER_HOUR = _TIME16_OVER_HOUR;
          this.timeConfForm.TIME16_OVER_MIN = _TIME16_OVER_MIN;

          this.paramForm.tempModelConf = _conf.tempModelConf ? (JSON.parse(_conf.tempModelConf) || {}) : {};
          //转成数字
          this.paramForm.tempModelConf.TEMP1_VALID = this.paramForm.tempModelConf.TEMP1_VALID ? Number(this.paramForm.tempModelConf.TEMP1_VALID) : 0;
          this.paramForm.tempModelConf.TEMP2_VALID = this.paramForm.tempModelConf.TEMP2_VALID ? Number(this.paramForm.tempModelConf.TEMP2_VALID) : 0;
          this.paramForm.tempModelConf.TEMP3_VALID = this.paramForm.tempModelConf.TEMP3_VALID ? Number(this.paramForm.tempModelConf.TEMP3_VALID) : 0;
          this.paramForm.tempModelConf.TEMP4_VALID = this.paramForm.tempModelConf.TEMP4_VALID ? Number(this.paramForm.tempModelConf.TEMP4_VALID) : 0;
          this.paramForm.tempModelConf.TEMP5_VALID = this.paramForm.tempModelConf.TEMP5_VALID ? Number(this.paramForm.tempModelConf.TEMP5_VALID) : 0;
          this.paramForm.tempModelConf.TEMP6_VALID = this.paramForm.tempModelConf.TEMP6_VALID ? Number(this.paramForm.tempModelConf.TEMP6_VALID) : 0;

          this.paramForm.tempModelConf.TEMP1_ALG = this.paramForm.tempModelConf.TEMP1_ALG ? Number(this.paramForm.tempModelConf.TEMP1_ALG) : 0;
          this.paramForm.tempModelConf.TEMP2_ALG = this.paramForm.tempModelConf.TEMP2_ALG ? Number(this.paramForm.tempModelConf.TEMP2_ALG) : 0;
          this.paramForm.tempModelConf.TEMP3_ALG = this.paramForm.tempModelConf.TEMP3_ALG ? Number(this.paramForm.tempModelConf.TEMP3_ALG) : 0;
          this.paramForm.tempModelConf.TEMP4_ALG = this.paramForm.tempModelConf.TEMP4_ALG ? Number(this.paramForm.tempModelConf.TEMP4_ALG) : 0;
          this.paramForm.tempModelConf.TEMP5_ALG = this.paramForm.tempModelConf.TEMP5_ALG ? Number(this.paramForm.tempModelConf.TEMP5_ALG) : 0;
          this.paramForm.tempModelConf.TEMP6_ALG = this.paramForm.tempModelConf.TEMP6_ALG ? Number(this.paramForm.tempModelConf.TEMP6_ALG) : 0;
        } 

        let super3TimeConf = Object.assign({}, (_conf.su3TimeModelConf ? (JSON.parse(_conf.su3TimeModelConf) || {}) : {}));
        this.super3TimeConfForm = super3TimeConf;
        if (super3TimeConf) {
          //{"SU_TIME1_START_HOUR":9,"SU_TIME1_START_MIN":30,"SU_TIME1_OVER_HOUR":23,"SU_TIME1_OVER_MIN":59,}
          let _SU2_TIME1_START_HOUR = super3TimeConf.SU_TIME1_START_HOUR ? Number(super3TimeConf.SU_TIME1_START_HOUR) : 0,
            _SU2_TIME1_START_MIN = super3TimeConf.SU_TIME1_START_MIN ? Number(super3TimeConf.SU_TIME1_START_MIN) : 0,
            _SU2_TIME1_OVER_HOUR = super3TimeConf.SU_TIME1_OVER_HOUR ? Number(super3TimeConf.SU_TIME1_OVER_HOUR) : 0,
            _SU2_TIME1_OVER_MIN = super3TimeConf.SU_TIME1_OVER_MIN ? Number(super3TimeConf.SU_TIME1_OVER_MIN) : 0;
          this.paramForm.SU2_TIME1_START = dayjs(((_SU2_TIME1_START_HOUR < 10 ? ("0" + _SU2_TIME1_START_HOUR) : _SU2_TIME1_START_HOUR) + ":" + (_SU2_TIME1_START_MIN < 10 ? ("0" + _SU2_TIME1_START_MIN) : _SU2_TIME1_START_MIN)), 'HH:mm');
          this.paramForm.SU2_TIME1_OVER = [_SU2_TIME1_OVER_HOUR, _SU2_TIME1_OVER_MIN];

          let _SU2_TIME2_START_HOUR = super3TimeConf.SU_TIME2_START_HOUR ? Number(super3TimeConf.SU_TIME2_START_HOUR) : 0,
            _SU2_TIME2_START_MIN = super3TimeConf.SU_TIME2_START_MIN ? Number(super3TimeConf.SU_TIME2_START_MIN) : 0,
            _SU2_TIME2_OVER_HOUR = super3TimeConf.SU_TIME2_OVER_HOUR ? Number(super3TimeConf.SU_TIME2_OVER_HOUR) : 0,
            _SU2_TIME2_OVER_MIN = super3TimeConf.SU_TIME2_OVER_MIN ? Number(super3TimeConf.SU_TIME2_OVER_MIN) : 0;
          this.paramForm.SU2_TIME2_START = dayjs(((_SU2_TIME2_START_HOUR < 10 ? ("0" + _SU2_TIME2_START_HOUR) : _SU2_TIME2_START_HOUR) + ":" + (_SU2_TIME2_START_MIN < 10 ? ("0" + _SU2_TIME2_START_MIN) : _SU2_TIME2_START_MIN)), 'HH:mm');
          this.paramForm.SU2_TIME2_OVER = [_SU2_TIME2_OVER_HOUR, _SU2_TIME2_OVER_MIN];

          let _SU2_TIME3_START_HOUR = super3TimeConf.SU_TIME3_START_HOUR ? Number(super3TimeConf.SU_TIME3_START_HOUR) : 0,
            _SU2_TIME3_START_MIN = super3TimeConf.SU_TIME3_START_MIN ? Number(super3TimeConf.SU_TIME3_START_MIN) : 0,
            _SU2_TIME3_OVER_HOUR = super3TimeConf.SU_TIME3_OVER_HOUR ? Number(super3TimeConf.SU_TIME3_OVER_HOUR) : 0,
            _SU2_TIME3_OVER_MIN = super3TimeConf.SU_TIME3_OVER_MIN ? Number(super3TimeConf.SU_TIME3_OVER_MIN) : 0;
          this.paramForm.SU2_TIME3_START = dayjs(((_SU2_TIME3_START_HOUR < 10 ? ("0" + _SU2_TIME3_START_HOUR) : _SU2_TIME3_START_HOUR) + ":" + (_SU2_TIME3_START_MIN < 10 ? ("0" + _SU2_TIME3_START_MIN) : _SU2_TIME3_START_MIN)), 'HH:mm');
          this.paramForm.SU2_TIME3_OVER = [_SU2_TIME3_OVER_HOUR, _SU2_TIME3_OVER_MIN];

          let _SU2_TIME4_START_HOUR = super3TimeConf.SU_TIME4_START_HOUR ? Number(super3TimeConf.SU_TIME4_START_HOUR) : 0,
            _SU2_TIME4_START_MIN = super3TimeConf.SU_TIME4_START_MIN ? Number(super3TimeConf.SU_TIME4_START_MIN) : 0,
            _SU2_TIME4_OVER_HOUR = super3TimeConf.SU_TIME4_OVER_HOUR ? Number(super3TimeConf.SU_TIME4_OVER_HOUR) : 0,
            _SU2_TIME4_OVER_MIN = super3TimeConf.SU_TIME4_OVER_MIN ? Number(super3TimeConf.SU_TIME4_OVER_MIN) : 0;
          this.paramForm.SU2_TIME4_START = dayjs(((_SU2_TIME4_START_HOUR < 10 ? ("0" + _SU2_TIME4_START_HOUR) : _SU2_TIME4_START_HOUR) + ":" + (_SU2_TIME4_START_MIN < 10 ? ("0" + _SU2_TIME4_START_MIN) : _SU2_TIME4_START_MIN)), 'HH:mm');
          this.paramForm.SU2_TIME4_OVER = [_SU2_TIME4_OVER_HOUR, _SU2_TIME4_OVER_MIN];
        }

      } else {
        this.paramForm.TIME1_START= dayjs('00:00', 'HH:mm');
        this.timeConfForm.TIME1_START_HOUR = 0;
        this.timeConfForm.TIME1_START_MIN = 0;
        this.timeConfForm.TIME1_OVER_HOUR = 0;
        this.timeConfForm.TIME1_OVER_MIN = 0;

        this.paramForm.TIME2_START= dayjs('00:00', 'HH:mm');
        this.timeConfForm.TIME2_START_HOUR = 0;
        this.timeConfForm.TIME2_START_MIN = 0;
        this.timeConfForm.TIME2_OVER_HOUR = 0;
        this.timeConfForm.TIME2_OVER_MIN = 0;

        this.paramForm.TIME3_START= dayjs('00:00', 'HH:mm');
        this.timeConfForm.TIME3_START_HOUR = 0;
        this.timeConfForm.TIME3_START_MIN = 0;
        this.timeConfForm.TIME3_OVER_HOUR = 0;
        this.timeConfForm.TIME3_OVER_MIN = 0;

        this.paramForm.TIME4_START= dayjs('00:00', 'HH:mm');
        this.timeConfForm.TIME4_START_HOUR = 0;
        this.timeConfForm.TIME4_START_MIN = 0;
        this.timeConfForm.TIME4_OVER_HOUR = 0;
        this.timeConfForm.TIME4_OVER_MIN = 0;

        this.paramForm.TIME5_START= dayjs('00:00', 'HH:mm');
        this.timeConfForm.TIME5_START_HOUR = 0;
        this.timeConfForm.TIME5_START_MIN = 0;
        this.timeConfForm.TIME5_OVER_HOUR = 0;
        this.timeConfForm.TIME5_OVER_MIN = 0;

        this.paramForm.TIME6_START= dayjs('00:00', 'HH:mm');
        this.timeConfForm.TIME6_START_HOUR = 0;
        this.timeConfForm.TIME6_START_MIN = 0;
        this.timeConfForm.TIME6_OVER_HOUR = 0;
        this.timeConfForm.TIME6_OVER_MIN = 0;

        this.paramForm.TIME7_START= dayjs('00:00', 'HH:mm');
        this.timeConfForm.TIME7_START_HOUR = 0;
        this.timeConfForm.TIME7_START_MIN = 0;
        this.timeConfForm.TIME7_OVER_HOUR = 0;
        this.timeConfForm.TIME7_OVER_MIN = 0;

        this.paramForm.TIME8_START= dayjs('00:00', 'HH:mm');
        this.timeConfForm.TIME8_START_HOUR = 0;
        this.timeConfForm.TIME8_START_MIN = 0;
        this.timeConfForm.TIME8_OVER_HOUR = 0;
        this.timeConfForm.TIME8_OVER_MIN = 0;

        this.paramForm.TIME9_START= dayjs('00:00', 'HH:mm');
        this.timeConfForm.TIME9_START_HOUR = 0;
        this.timeConfForm.TIME9_START_MIN = 0;
        this.timeConfForm.TIME9_OVER_HOUR = 0;
        this.timeConfForm.TIME9_OVER_MIN = 0;

        this.paramForm.TIME10_START= dayjs('00:00', 'HH:mm');
        this.timeConfForm.TIME10_START_HOUR = 0;
        this.timeConfForm.TIME10_START_MIN = 0;
        this.timeConfForm.TIME10_OVER_HOUR = 0;
        this.timeConfForm.TIME10_OVER_MIN = 0;

        this.paramForm.TIME11_START= dayjs('00:00', 'HH:mm');
        this.timeConfForm.TIME11_START_HOUR = 0;
        this.timeConfForm.TIME11_START_MIN = 0;
        this.timeConfForm.TIME11_OVER_HOUR = 0;
        this.timeConfForm.TIME11_OVER_MIN = 0;

        this.paramForm.TIME12_START= dayjs('00:00', 'HH:mm');
        this.timeConfForm.TIME12_START_HOUR = 0;
        this.timeConfForm.TIME12_START_MIN = 0;
        this.timeConfForm.TIME12_OVER_HOUR = 0;
        this.timeConfForm.TIME12_OVER_MIN = 0;

        this.paramForm.TIME13_START= dayjs('00:00', 'HH:mm');
        this.timeConfForm.TIME13_START_HOUR = 0;
        this.timeConfForm.TIME13_START_MIN = 0;
        this.timeConfForm.TIME13_OVER_HOUR = 0;
        this.timeConfForm.TIME13_OVER_MIN = 0;

        this.paramForm.TIME14_START= dayjs('00:00', 'HH:mm');
        this.timeConfForm.TIME14_START_HOUR = 0;
        this.timeConfForm.TIME14_START_MIN = 0;
        this.timeConfForm.TIME14_OVER_HOUR = 0;
        this.timeConfForm.TIME14_OVER_MIN = 0;

        this.paramForm.TIME15_START= dayjs('00:00', 'HH:mm');
        this.timeConfForm.TIME15_START_HOUR = 0;
        this.timeConfForm.TIME15_START_MIN = 0;
        this.timeConfForm.TIME15_OVER_HOUR = 0;
        this.timeConfForm.TIME15_OVER_MIN = 0;

        this.paramForm.TIME16_START= dayjs('00:00', 'HH:mm');
        this.timeConfForm.TIME16_START_HOUR = 0;
        this.timeConfForm.TIME16_START_MIN = 0;
        this.timeConfForm.TIME16_OVER_HOUR = 0;
        this.timeConfForm.TIME16_OVER_MIN = 0;

      }
    },
    selectTime1Start(time) {
      this.timeConfForm.TIME1_START_HOUR = time.hour();
      this.timeConfForm.TIME1_START_MIN = time.minute();
    },
    selectTime2Start(time) {
      this.timeConfForm.TIME2_START_HOUR = time.hour();
      this.timeConfForm.TIME2_START_MIN = time.minute();
    },
    selectTime3Start(time) {
      this.timeConfForm.TIME3_START_HOUR = time.hour();
      this.timeConfForm.TIME3_START_MIN = time.minute();
    },
    selectTime4Start(time) {
      this.timeConfForm.TIME4_START_HOUR = time.hour();
      this.timeConfForm.TIME4_START_MIN = time.minute();
    },
    selectTime5Start(time) {
      this.timeConfForm.TIME5_START_HOUR = time.hour();
      this.timeConfForm.TIME5_START_MIN = time.minute();
    },
    selectTime6Start(time) {
      this.timeConfForm.TIME6_START_HOUR = time.hour();
      this.timeConfForm.TIME6_START_MIN = time.minute();
    },
    selectTime7Start(time) {
      this.timeConfForm.TIME7_START_HOUR = time.hour();
      this.timeConfForm.TIME7_START_MIN = time.minute();
    },
    selectTime8Start(time) {
      this.timeConfForm.TIME8_START_HOUR = time.hour();
      this.timeConfForm.TIME8_START_MIN = time.minute();
    },
    selectTime9Start(time) {
      this.timeConfForm.TIME9_START_HOUR = time.hour();
      this.timeConfForm.TIME9_START_MIN = time.minute();
    },
    selectTime10Start(time) {
      this.timeConfForm.TIME10_START_HOUR = time.hour();
      this.timeConfForm.TIME10_START_MIN = time.minute();
    },
    selectTime11Start(time) {
      this.timeConfForm.TIME11_START_HOUR = time.hour();
      this.timeConfForm.TIME11_START_MIN = time.minute();
    },
    selectTime12Start(time) {
      this.timeConfForm.TIME12_START_HOUR = time.hour();
      this.timeConfForm.TIME12_START_MIN = time.minute();
    },
    selectTime13Start(time) {
      this.timeConfForm.TIME13_START_HOUR = time.hour();
      this.timeConfForm.TIME13_START_MIN = time.minute();
    },
    selectTime14Start(time) {
      this.timeConfForm.TIME14_START_HOUR = time.hour();
      this.timeConfForm.TIME14_START_MIN = time.minute();
    },
    selectTime15Start(time) {
      this.timeConfForm.TIME15_START_HOUR = time.hour();
      this.timeConfForm.TIME15_START_MIN = time.minute();
    },
    selectTime16Start(time) {
      this.timeConfForm.TIME16_START_HOUR = time.hour();
      this.timeConfForm.TIME16_START_MIN = time.minute();
    },
    selectTime1Over(time) {
      this.paramForm.TIME1_OVER = time;
      if (time) {
        this.timeConfForm.TIME1_OVER_HOUR = time[0];
        this.timeConfForm.TIME1_OVER_MIN = time[1];
      }
    },
    selectTime2Over(time) {
      this.paramForm.TIME2_OVER = time;
      if (time) {
        this.timeConfForm.TIME2_OVER_HOUR = time[0];
        this.timeConfForm.TIME2_OVER_MIN = time[1];
      }
    },
    selectTime3Over(time) {
      this.paramForm.TIME3_OVER = time;
      if (time) {
        this.timeConfForm.TIME3_OVER_HOUR = time[0];
        this.timeConfForm.TIME3_OVER_MIN = time[1];
      }
    },
    selectTime4Over(time) {
      this.paramForm.TIME4_OVER = time;
      if (time) {
        this.timeConfForm.TIME4_OVER_HOUR = time[0];
        this.timeConfForm.TIME4_OVER_MIN = time[1];
      }
    },
    selectTime5Over(time) {
      this.paramForm.TIME5_OVER = time;
      if (time) {
        this.timeConfForm.TIME5_OVER_HOUR = time[0];
        this.timeConfForm.TIME5_OVER_MIN = time[1];
      }
    },
    selectTime6Over(time) {
      this.paramForm.TIME6_OVER = time;
      if (time) {
        this.timeConfForm.TIME6_OVER_HOUR = time[0];
        this.timeConfForm.TIME6_OVER_MIN = time[1];
      }
    },
    selectTime7Over(time) {
      this.paramForm.TIME7_OVER = time;
      if (time) {
        this.timeConfForm.TIME7_OVER_HOUR = time[0];
        this.timeConfForm.TIME7_OVER_MIN = time[1];
      }
    },
    selectTime8Over(time) {
      this.paramForm.TIME8_OVER = time;
      if (time) {
        this.timeConfForm.TIME8_OVER_HOUR = time[0];
        this.timeConfForm.TIME8_OVER_MIN = time[1];
      }
    },
    selectTime9Over(time) {
      this.paramForm.TIME9_OVER = time;
      if (time) {
        this.timeConfForm.TIME9_OVER_HOUR = time[0];
        this.timeConfForm.TIME9_OVER_MIN = time[1];
      }
    },
    selectTime10Over(time) {
      this.paramForm.TIME10_OVER = time;
      if (time) {
        this.timeConfForm.TIME10_OVER_HOUR = time[0];
        this.timeConfForm.TIME10_OVER_MIN = time[1];
      }
    },
    selectTime11Over(time) {
      this.paramForm.TIME11_OVER = time;
      if (time) {
        this.timeConfForm.TIME11_OVER_HOUR = time[0];
        this.timeConfForm.TIME11_OVER_MIN = time[1];
      }
    },
    selectTime12Over(time) {
      this.paramForm.TIME12_OVER = time;
      if (time) {
        this.timeConfForm.TIME12_OVER_HOUR = time[0];
        this.timeConfForm.TIME12_OVER_MIN = time[1];
      }
    },
    selectTime13Over(time) {
      this.paramForm.TIME13_OVER = time;
      if (time) {
        this.timeConfForm.TIME13_OVER_HOUR = time[0];
        this.timeConfForm.TIME13_OVER_MIN = time[1];
      }
    },
    selectTime14Over(time) {
      this.paramForm.TIME14_OVER = time;
      if (time) {
        this.timeConfForm.TIME14_OVER_HOUR = time[0];
        this.timeConfForm.TIME14_OVER_MIN = time[1];
      }
    },
    selectTime15Over(time) {
      this.paramForm.TIME15_OVER = time;
      if (time) {
        this.timeConfForm.TIME15_OVER_HOUR = time[0];
        this.timeConfForm.TIME15_OVER_MIN = time[1];
      }
    },
    selectTime16Over(time) {
      this.paramForm.TIME16_OVER = time;
      if (time) {
        this.timeConfForm.TIME16_OVER_HOUR = time[0];
        this.timeConfForm.TIME16_OVER_MIN = time[1];
      }
    },
    time1RegionChange(value) {
      if (!value || value.length == 0) {
        this.timeConfForm.TIME1_REGION = '';
      } else {
        this.timeConfForm.TIME1_REGION = value.join(',');
      }
    },
    time2RegionChange(value) {
      if (!value || value.length == 0) {
        this.timeConfForm.TIME2_REGION = '';
      } else {
        this.timeConfForm.TIME2_REGION = value.join(',');
      }
    },
    time3RegionChange(value) {
      if (!value || value.length == 0) {
        this.timeConfForm.TIME3_REGION = '';
      } else {
        this.timeConfForm.TIME3_REGION = value.join(',');
      }
    },
    time4RegionChange(value) {
      if (!value || value.length == 0) {
        this.timeConfForm.TIME4_REGION = '';
      } else {
        this.timeConfForm.TIME4_REGION = value.join(',');
      }
    },
    time5RegionChange(value) {
      if (!value || value.length == 0) {
        this.timeConfForm.TIME5_REGION = '';
      } else {
        this.timeConfForm.TIME5_REGION = value.join(',');
      }
    },
    time6RegionChange(value) {
      if (!value || value.length == 0) {
        this.timeConfForm.TIME6_REGION = '';
      } else {
        this.timeConfForm.TIME6_REGION = value.join(',');
      }
    },
    time7RegionChange(value) {
      if (!value || value.length == 0) {
        this.timeConfForm.TIME7_REGION = '';
      } else {
        this.timeConfForm.TIME7_REGION = value.join(',');
      }
    },
    time8RegionChange(value) {
      if (!value || value.length == 0) {
        this.timeConfForm.TIME8_REGION = '';
      } else {
        this.timeConfForm.TIME8_REGION = value.join(',');
      }
    },
    time9RegionChange(value) {
      if (!value || value.length == 0) {
        this.timeConfForm.TIME9_REGION = '';
      } else {
        this.timeConfForm.TIME9_REGION = value.join(',');
      }
    },
    time10RegionChange(value) {
      if (!value || value.length == 0) {
        this.timeConfForm.TIME10_REGION = '';
      } else {
        this.timeConfForm.TIME10_REGION = value.join(',');
      }
    },
    time11RegionChange(value) {
      if (!value || value.length == 0) {
        this.timeConfForm.TIME11_REGION = '';
      } else {
        this.timeConfForm.TIME11_REGION = value.join(',');
      }
    },
    time12RegionChange(value) {
      if (!value || value.length == 0) {
        this.timeConfForm.TIME12_REGION = '';
      } else {
        this.timeConfForm.TIME12_REGION = value.join(',');
      }
    },
    time13RegionChange(value) {
      if (!value || value.length == 0) {
        this.timeConfForm.TIME13_REGION = '';
      } else {
        this.timeConfForm.TIME13_REGION = value.join(',');
      }
    },
    time14RegionChange(value) {
      if (!value || value.length == 0) {
        this.timeConfForm.TIME14_REGION = '';
      } else {
        this.timeConfForm.TIME14_REGION = value.join(',');
      }
    },
    time15RegionChange(value) {
      if (!value || value.length == 0) {
        this.timeConfForm.TIME15_REGION = '';
      } else {
        this.timeConfForm.TIME15_REGION = value.join(',');
      }
    },
    time16RegionChange(value) {
      if (!value || value.length == 0) {
        this.timeConfForm.TIME16_REGION = '';
      } else {
        this.timeConfForm.TIME16_REGION = value.join(',');
      }
    },
    //喷淋二代 {"SU_TIME1_START_HOUR":9,"SU_TIME1_START_MIN":30,"SU_TIME1_OVER_HOUR":23,"SU_TIME1_OVER_MIN":59,}
    selectSU2Time1Start(time) {
      this.super3TimeConfForm.SU_TIME1_START_HOUR = time.hour();
      this.super3TimeConfForm.SU_TIME1_START_MIN = time.minute();
    },
    selectSU2Time2Start(time) {
      this.super3TimeConfForm.SU_TIME2_START_HOUR = time.hour();
      this.super3TimeConfForm.SU_TIME2_START_MIN = time.minute();
    },
    selectSU2Time3Start(time) {
      this.super3TimeConfForm.SU_TIME3_START_HOUR = time.hour();
      this.super3TimeConfForm.SU_TIME3_START_MIN = time.minute();
    },
    selectSU2Time4Start(time) {
      this.super3TimeConfForm.SU_TIME4_START_HOUR = time.hour();
      this.super3TimeConfForm.SU_TIME4_START_MIN = time.minute();
    },
    selectSU2Time1Over(time) {
      this.paramForm.SU2_TIME1_OVER = time;
      if (time) {
        this.super3TimeConfForm.SU_TIME1_OVER_HOUR = time[0];
        this.super3TimeConfForm.SU_TIME1_OVER_MIN = time[1];
      }
    },
    selectSU2Time2Over(time) {
      this.paramForm.SU2_TIME2_OVER = time;
      if (time) {
        this.super3TimeConfForm.SU_TIME2_OVER_HOUR = time[0];
        this.super3TimeConfForm.SU_TIME2_OVER_MIN = time[1];
      }
    },
    selectSU2Time3Over(time) {
      this.paramForm.SU2_TIME3_OVER = time;
      if (time) {
        this.super3TimeConfForm.SU_TIME3_OVER_HOUR = time[0];
        this.super3TimeConfForm.SU_TIME3_OVER_MIN = time[1];
      }
    },
    selectSU2Time4Over(time) {
      this.paramForm.SU2_TIME4_OVER = time;
      if (time) {
        this.super3TimeConfForm.SU_TIME4_OVER_HOUR = time[0];
        this.super3TimeConfForm.SU_TIME4_OVER_MIN = time[1];
      }
    },

    /**
     * 保存和编辑
     * 写到队列，队列发送完回写到原配置
     * @author cancan
     * @date 2022/03/04 21:15
     */
    save() {
      //将"结束时间"00：00转为24点吧。this.timeConfForm.TIME6_OVER_HOUR结束
      let timeModelConf = this.timeConfForm;

      if (this.timeConfForm.TIME1_VALID > 0) {
        if ((this.timeConfForm.TIME1_START_HOUR * 100 + this.timeConfForm.TIME1_START_MIN) > (this.timeConfForm.TIME1_OVER_HOUR * 100 + this.timeConfForm.TIME1_OVER_MIN)) {
          message.error('时间段一开始时间应小于结束时间，请重新输入');
          return;
        }
        if (!this.timeConfForm.TIME1_REGION) {
          message.error('时间段一必须选择区域');
          return;
        }
        if (!this.timeConfForm.TIME1_MODE) {
          message.error('时间段一的区域喷淋方式需要选择');
          return;
        }
        if (!this.timeConfForm.TIME1_ALG) {
          message.error('请选择时间段一的相机是否忽略算法');
          return;
        }
      }

      if (this.timeConfForm.TIME2_VALID > 0) {
        if ((this.timeConfForm.TIME2_START_HOUR * 100 + this.timeConfForm.TIME2_START_MIN) > (this.timeConfForm.TIME2_OVER_HOUR * 100 + this.timeConfForm.TIME2_OVER_MIN)) {
          message.error('时间段二开始时间应小于结束时间，请重新输入');
          return;
        }
        if (!this.timeConfForm.TIME2_REGION) {
          message.error('时间段二必须选择区域');
          return;
        }
        if (!this.timeConfForm.TIME2_MODE) {
          message.error('时间段二的区域喷淋方式需要选择');
          return;
        }
        if (!this.timeConfForm.TIME2_ALG) {
          message.error('请选择时间段二的相机是否忽略算法');
          return;
        }
      }

      if (this.timeConfForm.TIME3_VALID > 0) {
        if ((this.timeConfForm.TIME3_START_HOUR * 100 + this.timeConfForm.TIME3_START_MIN) > (this.timeConfForm.TIME3_OVER_HOUR * 100 + this.timeConfForm.TIME3_OVER_MIN)) {
          message.error('时间段三开始时间应小于结束时间，请重新输入');
          return;
        }
        if (!this.timeConfForm.TIME3_REGION) {
          message.error('时间段三必须选择区域');
          return;
        }
        if (!this.timeConfForm.TIME3_MODE) {
          message.error('时间段三的区域喷淋方式需要选择');
          return;
        }
        if (!this.timeConfForm.TIME3_ALG) {
          message.error('请选择时间段三的相机是否忽略算法');
          return;
        }
      }

      if (this.timeConfForm.TIME4_VALID > 0) {
        if ((this.timeConfForm.TIME4_START_HOUR * 100 + this.timeConfForm.TIME4_START_MIN) > (this.timeConfForm.TIME4_OVER_HOUR * 100 + this.timeConfForm.TIME4_OVER_MIN)) {
          message.error('时间段四开始时间应小于结束时间，请重新输入');
          return;
        }
        if (!this.timeConfForm.TIME4_REGION) {
          message.error('时间段四必须选择区域');
          return;
        }
        if (!this.timeConfForm.TIME4_MODE) {
          message.error('时间段四的区域喷淋方式需要选择');
          return;
        }
        if (!this.timeConfForm.TIME4_ALG) {
          message.error('请选择时间段四的相机是否忽略算法');
          return;
        }

      }

      if (this.timeConfForm.TIME5_VALID > 0) {
        if ((this.timeConfForm.TIME5_START_HOUR * 100 + this.timeConfForm.TIME5_START_MIN) > (this.timeConfForm.TIME5_OVER_HOUR * 100 + this.timeConfForm.TIME5_OVER_MIN)) {
          message.error('时间段五开始时间应小于结束时间，请重新输入');
          return;
        }
        if (!this.timeConfForm.TIME5_REGION) {
          message.error('时间段五必须选择区域');
          return;
        }
        if (!this.timeConfForm.TIME5_MODE) {
          message.error('时间段五的区域喷淋方式需要选择');
          return;
        }
        if (!this.timeConfForm.TIME5_ALG) {
          message.error('请选择时间段五的相机是否忽略算法');
          return;
        }
      }

      if (this.timeConfForm.TIME6_VALID > 0) {
        if ((this.timeConfForm.TIME6_START_HOUR * 100 + this.timeConfForm.TIME6_START_MIN) > (this.timeConfForm.TIME6_OVER_HOUR * 100 + this.timeConfForm.TIME6_OVER_MIN)) {
          message.error('时间段六开始时间应小于结束时间，请重新输入');
          return;
        }
        if (!this.timeConfForm.TIME6_REGION) {
          message.error('时间段六必须选择区域');
          return;
        }
        if (!this.timeConfForm.TIME6_MODE) {
          message.error('时间段六的区域喷淋方式需要选择');
          return;
        }
        if (!this.timeConfForm.TIME6_ALG) {
          message.error('请选择时间段六的相机是否忽略算法');
          return;
        }
      }

      if (this.timeConfForm.TIME7_VALID > 0) {
        if ((this.timeConfForm.TIME7_START_HOUR * 100 + this.timeConfForm.TIME7_START_MIN) > (this.timeConfForm.TIME7_OVER_HOUR * 100 + this.timeConfForm.TIME7_OVER_MIN)) {
          message.error('时间段七开始时间应小于结束时间，请重新输入');
          return;
        }
        if (!this.timeConfForm.TIME7_REGION) {
          message.error('时间段七必须选择区域');
          return;
        }
        if (!this.timeConfForm.TIME7_MODE) {
          message.error('时间段七的区域喷淋方式需要选择');
          return;
        }
        if (!this.timeConfForm.TIME7_ALG) {
          message.error('请选择时间段七的相机是否忽略算法');
          return;
        }
      }

      if (this.timeConfForm.TIME8_VALID > 0) {
        if ((this.timeConfForm.TIME8_START_HOUR * 100 + this.timeConfForm.TIME8_START_MIN) > (this.timeConfForm.TIME8_OVER_HOUR * 100 + this.timeConfForm.TIME8_OVER_MIN)) {
          message.error('时间段八开始时间应小于结束时间，请重新输入');
          return;
        }
        if (!this.timeConfForm.TIME8_REGION) {
          message.error('时间段八必须选择区域');
          return;
        }
        if (!this.timeConfForm.TIME8_MODE) {
          message.error('时间段八的区域喷淋方式需要选择');
          return;
        }
        if (!this.timeConfForm.TIME8_ALG) {
          message.error('请选择时间段八的相机是否忽略算法');
          return;
        }
      }

      if (this.timeConfForm.TIME9_VALID > 0) {
        if ((this.timeConfForm.TIME9_START_HOUR * 100 + this.timeConfForm.TIME9_START_MIN) > (this.timeConfForm.TIME9_OVER_HOUR * 100 + this.timeConfForm.TIME9_OVER_MIN)) {
          message.error('时间段九开始时间应小于结束时间，请重新输入');
          return;
        }
        if (!this.timeConfForm.TIME9_REGION) {
          message.error('时间段九必须选择区域');
          return;
        }
        if (!this.timeConfForm.TIME9_MODE) {
          message.error('时间段九的区域喷淋方式需要选择');
          return;
        }
        if (!this.timeConfForm.TIME9_ALG) {
          message.error('请选择时间段九的相机是否忽略算法');
          return;
        }
      }

      if (this.timeConfForm.TIME10_VALID > 0) {
        if ((this.timeConfForm.TIME10_START_HOUR * 100 + this.timeConfForm.TIME10_START_MIN) > (this.timeConfForm.TIME10_OVER_HOUR * 100 + this.timeConfForm.TIME10_OVER_MIN)) {
          message.error('时间段十开始时间应小于结束时间，请重新输入');
          return;
        }
        if (!this.timeConfForm.TIME10_REGION) {
          message.error('时间段十必须选择区域');
          return;
        }
        if (!this.timeConfForm.TIME10_ALG) {
          message.error('请选择时间段十的相机是否忽略算法');
          return;
        }
        if (!this.timeConfForm.TIME10_MODE) {
          message.error('时间段十的区域喷淋方式需要选择');
          return;
        }
      }

      if (this.timeConfForm.TIME11_VALID > 0) {
        if ((this.timeConfForm.TIME11_START_HOUR * 100 + this.timeConfForm.TIME11_START_MIN) > (this.timeConfForm.TIME11_OVER_HOUR * 100 + this.timeConfForm.TIME11_OVER_MIN)) {
          message.error('时间段十一开始时间应小于结束时间，请重新输入');
          return;
        }
        if (!this.timeConfForm.TIME11_REGION) {
          message.error('时间段十一必须选择区域');
          return;
        }
        if (!this.timeConfForm.TIME11_ALG) {
          message.error('请选择时间段十一的相机是否忽略算法');
          return;
        }
        if (!this.timeConfForm.TIME11_MODE) {
          message.error('时间段十一的区域喷淋方式需要选择');
          return;
        }
      }

      if (this.timeConfForm.TIME12_VALID > 0) {
        if ((this.timeConfForm.TIME12_START_HOUR * 100 + this.timeConfForm.TIME12_START_MIN) > (this.timeConfForm.TIME12_OVER_HOUR * 100 + this.timeConfForm.TIME12_OVER_MIN)) {
          message.error('时间段十二开始时间应小于结束时间，请重新输入');
          return;
        }
        if (!this.timeConfForm.TIME12_REGION) {
          message.error('时间段十二必须选择区域');
          return;
        }
        if (!this.timeConfForm.TIME12_MODE) {
          message.error('时间段十二的区域喷淋方式需要选择');
          return;
        }
        if (!this.timeConfForm.TIME12_ALG) {
          message.error('请选择时间段十二的相机是否忽略算法');
          return;
        }
      }

      if (this.timeConfForm.TIME13_VALID > 0) {
        if ((this.timeConfForm.TIME13_START_HOUR * 100 + this.timeConfForm.TIME13_START_MIN) > (this.timeConfForm.TIME13_OVER_HOUR * 100 + this.timeConfForm.TIME13_OVER_MIN)) {
          message.error('时间段十三开始时间应小于结束时间，请重新输入');
          return;
        }
        if (!this.timeConfForm.TIME13_REGION) {
          message.error('时间段十三必须选择区域');
          return;
        }
        if (!this.timeConfForm.TIME13_MODE) {
          message.error('时间段十三的区域喷淋方式需要选择');
          return;
        }
        if (!this.timeConfForm.TIME13_ALG) {
          message.error('请选择时间段十三的相机是否忽略算法');
          return;
        }
      }

      if (this.timeConfForm.TIME14_VALID > 0) {
        if ((this.timeConfForm.TIME14_START_HOUR * 100 + this.timeConfForm.TIME14_START_MIN) > (this.timeConfForm.TIME14_OVER_HOUR * 100 + this.timeConfForm.TIME14_OVER_MIN)) {
          message.error('时间段十四开始时间应小于结束时间，请重新输入');
          return;
        }
        if (!this.timeConfForm.TIME14_REGION) {
          message.error('时间段十四必须选择区域');
          return;
        }
        if (!this.timeConfForm.TIME14_MODE) {
          message.error('时间段十四的区域喷淋方式需要选择');
          return;
        }
        if (!this.timeConfForm.TIME14_ALG) {
          message.error('请选择时间段十四的相机是否忽略算法');
          return;
        }
      }

      if (this.timeConfForm.TIME15_VALID > 0) {
        if ((this.timeConfForm.TIME15_START_HOUR * 100 + this.timeConfForm.TIME15_START_MIN) > (this.timeConfForm.TIME15_OVER_HOUR * 100 + this.timeConfForm.TIME15_OVER_MIN)) {
          message.error('时间段十五开始时间应小于结束时间，请重新输入');
          return;
        }
        if (!this.timeConfForm.TIME15_REGION) {
          message.error('时间段十五必须选择区域');
          return;
        }
        if (!this.timeConfForm.TIME15_MODE) {
          message.error('时间段十五的区域喷淋方式需要选择');
          return;
        }
        if (!this.timeConfForm.TIME15_ALG) {
          message.error('请选择时间段十五的相机是否忽略算法');
          return;
        }
      }

      if (this.timeConfForm.TIME16_VALID > 0) {
        if ((this.timeConfForm.TIME16_START_HOUR * 100 + this.timeConfForm.TIME16_START_MIN) > (this.timeConfForm.TIME16_OVER_HOUR * 100 + this.timeConfForm.TIME16_OVER_MIN)) {
          message.error('时间段十六开始时间应小于结束时间，请重新输入');
          return;
        }
        if (!this.timeConfForm.TIME16_REGION) {
          message.error('时间段十六必须选择区域');
          return;
        }
        if (!this.timeConfForm.TIME16_MODE) {
          message.error('时间段十六的区域喷淋方式需要选择');
          return;
        }
        if (!this.timeConfForm.TIME16_ALG) {
          message.error('请选择时间段十六的相机是否忽略算法');
          return;
        }
      }

      // 确保温度值为数字类型并进行有效性验证
      if (this.paramForm.tempModelConf.TEMP1_VALID > 0) {
        const low = Number(this.paramForm.tempModelConf.TEMP1_RANGE_LOW);
        const high = Number(this.paramForm.tempModelConf.TEMP1_RANGE_HIGH);
        
        if (isNaN(low) || isNaN(high)) {
          message.error('温度区间1的上下限必须是有效数字');
          return;
        }
        
        if (low > high) {
          message.error('温度下限1需小于温度上限1，请重新输入');
          return;
        }
      }

      if (this.paramForm.tempModelConf.TEMP2_VALID > 0) {
        const low = Number(this.paramForm.tempModelConf.TEMP2_RANGE_LOW);
        const high = Number(this.paramForm.tempModelConf.TEMP2_RANGE_HIGH);
        
        if (isNaN(low) || isNaN(high)) {
          message.error('温度区间2的上下限必须是有效数字');
          return;
        }
        
        if (low > high) {
          message.error('温度下限2需小于温度上限2，请重新输入');
          return;
        }
      }
      
      if (this.paramForm.tempModelConf.TEMP3_VALID > 0) {
        const low = Number(this.paramForm.tempModelConf.TEMP3_RANGE_LOW);
        const high = Number(this.paramForm.tempModelConf.TEMP3_RANGE_HIGH);
        
        if (isNaN(low) || isNaN(high)) {
          message.error('温度区间3的上下限必须是有效数字');
          return;
        }
        
        if (low > high) {
          message.error('温度下限3需小于温度上限3，请重新输入');
          return;
        }
      }
      
      if (this.paramForm.tempModelConf.TEMP4_VALID > 0) {
        const low = Number(this.paramForm.tempModelConf.TEMP4_RANGE_LOW);
        const high = Number(this.paramForm.tempModelConf.TEMP4_RANGE_HIGH);
        
        if (isNaN(low) || isNaN(high)) {
          message.error('温度区间4的上下限必须是有效数字');
          return;
        }
        
        if (low > high) {
          message.error('温度下限4需小于温度上限4，请重新输入');
          return;
        }
      }
      
      if (this.paramForm.tempModelConf.TEMP5_VALID > 0) {
        const low = Number(this.paramForm.tempModelConf.TEMP5_RANGE_LOW);
        const high = Number(this.paramForm.tempModelConf.TEMP5_RANGE_HIGH);
        
        if (isNaN(low) || isNaN(high)) {
          message.error('温度区间5的上下限必须是有效数字');
          return;
        }
        
        if (low > high) {
          message.error('温度下限5需小于温度上限5，请重新输入');
          return;
        }
      }
      
      if (this.paramForm.tempModelConf.TEMP6_VALID > 0) {
        const low = Number(this.paramForm.tempModelConf.TEMP6_RANGE_LOW);
        const high = Number(this.paramForm.tempModelConf.TEMP6_RANGE_HIGH);
        
        if (isNaN(low) || isNaN(high)) {
          message.error('温度区间6的上下限必须是有效数字');
          return;
        }
        
        if (low > high) {
          message.error('温度下限6需小于温度上限6，请重新输入');
          return;
        }
      }
      
      if ((this.super3TimeConfForm.SU_TIME1_START_HOUR * 100 + this.super3TimeConfForm.SU_TIME1_START_MIN) > (this.super3TimeConfForm.SU_TIME1_OVER_HOUR * 100 + this.super3TimeConfForm.SU_TIME1_OVER_MIN)) {
        message.error('超级模式2时间段一开始时间应小于结束时间，请重新输入');
        return;
      }
      if ((this.super3TimeConfForm.SU_TIME2_START_HOUR * 100 + this.super3TimeConfForm.SU_TIME2_START_MIN) > (this.super3TimeConfForm.SU_TIME2_OVER_HOUR * 100 + this.super3TimeConfForm.SU_TIME2_OVER_MIN)) {
        message.error('超级模式2时间段二开始时间应小于结束时间，请重新输入');
        return;
      }
      if ((this.super3TimeConfForm.SU_TIME3_START_HOUR * 100 + this.super3TimeConfForm.SU_TIME3_START_MIN) > (this.super3TimeConfForm.SU_TIME3_OVER_HOUR * 100 + this.super3TimeConfForm.SU_TIME3_OVER_MIN)) {
        message.error('超级模式2时间段三开始时间应小于结束时间，请重新输入');
        return;
      }
      if ((this.super3TimeConfForm.SU_TIME4_START_HOUR * 100 + this.super3TimeConfForm.SU_TIME4_START_MIN) > (this.super3TimeConfForm.SU_TIME4_OVER_HOUR * 100 + this.super3TimeConfForm.SU_TIME4_OVER_MIN)) {
        message.error('超级模式2时间段三开始时间应小于结束时间，请重新输入');
        return;
      }

      console.log(timeModelConf);
      let updateData = {
        timeModelConf : JSON.stringify(timeModelConf),
        sprayModelData : JSON.stringify(this.paramForm.sprayModelData),
        tempModelConf : JSON.stringify(this.paramForm.tempModelConf),
        su3TimeModelConf : JSON.stringify(this.super3TimeConfForm),
        oxtallId : this.data.oxtallId,
        temperatureRecordId : this.paramForm.temperatureRecordId,
        idendify : this.paramForm.idendify,
      };
      console.log(updateData)
      // 校验表单
      //await this.$refs.form.validate();
      // 修改加载框为正在加载
      this.loading = true;
      let result = DeviceSprayCameraScheduleConfigApi.add(updateData);
      result.then(res => {
        // 移除加载框
        this.loading = false;
        // 提示添加成功
        message.success(res.message);
        // 关闭弹框，通过控制visible的值，传递给父组件
        this.updateVisible(false);

        // 触发父组件done事件
        this.$emit('done');
      })
        .catch(() => {
          this.loading = false;
        });
    },
    //保存配置吹--------------end

    updateVisible(value) {
      this.$emit('update:visible', value);
    },
  }
};
</script>
<style scoped>
/** 用户卡片 */
.workplace-user-card .ele-cell-content {
  overflow: hidden;
}

.workplace-user-card h4 {
  margin-bottom: 6px;
}
.regionclass /deep/ .ant-col-md-11 {
  max-width : 30% !important;
}
.regionclass /deep/ .ant-col-md-13 {
  max-width: 70% !important;
}

:deep(.ant-modal) {
  max-width: 100%;
  top: 0;
  padding-bottom: 0;
  margin: 0;
}

:deep(.ant-modal-content) {
  height: 100vh;
  border-radius: 0;
}

:deep(.ant-modal-body) {
  height: calc(100vh - 110px);
}

</style>
